Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
1c68c58
1
Parent(s):
1cdebea
Update app.py
Browse files
app.py
CHANGED
@@ -518,8 +518,8 @@ def gradio_inference(image):
|
|
518 |
model_path='model.pth',
|
519 |
output_dir='output/',
|
520 |
need_animation=True, # whether need intermediate results for animation.
|
521 |
-
resize_h=
|
522 |
-
resize_w=
|
523 |
serial=True) # if need animation, serial must be True.
|
524 |
|
525 |
title = "Paint Transformer"
|
|
|
518 |
model_path='model.pth',
|
519 |
output_dir='output/',
|
520 |
need_animation=True, # whether need intermediate results for animation.
|
521 |
+
resize_h=300, # resize original input to this size. None means do not resize.
|
522 |
+
resize_w=300, # resize original input to this size. None means do not resize.
|
523 |
serial=True) # if need animation, serial must be True.
|
524 |
|
525 |
title = "Paint Transformer"
|