Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,6 +56,12 @@ def inference_image(image, size):
|
|
| 56 |
|
| 57 |
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
input_image = gr.Image(type='pil', label='Input Image')
|
| 60 |
input_model_image = gr.Radio(['2x', '4x', '8x'], type="value", value="4x", label="Model Upscale/Enhance Type")
|
| 61 |
submit_image_button = gr.Button('Submit')
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
+
def inference_video(video, size):
|
| 60 |
+
os.system("python inference_video.py")
|
| 61 |
+
return result_video
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
|
| 65 |
input_image = gr.Image(type='pil', label='Input Image')
|
| 66 |
input_model_image = gr.Radio(['2x', '4x', '8x'], type="value", value="4x", label="Model Upscale/Enhance Type")
|
| 67 |
submit_image_button = gr.Button('Submit')
|