Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,11 @@ tab_img = gr.Interface(
|
|
13 |
outputs=output_image,
|
14 |
title="Real-ESRGAN Pytorch",
|
15 |
description="Gradio UI for Real-ESRGAN Pytorch version. To use it, simply upload your image, or click one of examples and choose the model. Read more at the links below. Please click submit only once <br>Credits: [Nick088](https://linktr.ee/Nick088), Xinntao, Tencent, Geeve George, ai-forever, daroche <br><p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/ai-forever/Real-ESRGAN'>Github Repo</a></p>"
|
|
|
16 |
)
|
17 |
|
18 |
input_video = gr.Video(label='Input Video')
|
19 |
-
input_model_video = gr.Radio([('x2', 2), ('x4', 4), ('x8', 8)], type="value", value=
|
20 |
submit_video_button = gr.Button('Submit')
|
21 |
output_video = gr.Video(label='Output Video')
|
22 |
|
|
|
13 |
outputs=output_image,
|
14 |
title="Real-ESRGAN Pytorch",
|
15 |
description="Gradio UI for Real-ESRGAN Pytorch version. To use it, simply upload your image, or click one of examples and choose the model. Read more at the links below. Please click submit only once <br>Credits: [Nick088](https://linktr.ee/Nick088), Xinntao, Tencent, Geeve George, ai-forever, daroche <br><p style='text-align: center'><a href='https://arxiv.org/abs/2107.10833'>Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data</a> | <a href='https://github.com/ai-forever/Real-ESRGAN'>Github Repo</a></p>"
|
16 |
+
examples=["./test 1900.jpg", x4]
|
17 |
)
|
18 |
|
19 |
input_video = gr.Video(label='Input Video')
|
20 |
+
input_model_video = gr.Radio([('x2', 2), ('x4', 4), ('x8', 8)], type="value", value=2, label="Model Upscale/Enhance Type")
|
21 |
submit_video_button = gr.Button('Submit')
|
22 |
output_video = gr.Video(label='Output Video')
|
23 |
|