Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
4d6f95f
1
Parent(s):
a4eb8bf
Update app.py
Browse files
app.py
CHANGED
@@ -520,8 +520,8 @@ def gradio_inference(image):
|
|
520 |
model_path='model.pth',
|
521 |
output_dir='output/',
|
522 |
need_animation=True, # whether need intermediate results for animation.
|
523 |
-
resize_h=
|
524 |
-
resize_w=
|
525 |
serial=True) # if need animation, serial must be True.
|
526 |
|
527 |
inferences_running = 0
|
|
|
520 |
model_path='model.pth',
|
521 |
output_dir='output/',
|
522 |
need_animation=True, # whether need intermediate results for animation.
|
523 |
+
resize_h=400, # resize original input to this size. None means do not resize.
|
524 |
+
resize_w=400, # resize original input to this size. None means do not resize.
|
525 |
serial=True) # if need animation, serial must be True.
|
526 |
|
527 |
inferences_running = 0
|