Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7029aa9
1
Parent(s):
79919d7
Fix return
Browse files- gradio_demo.py +3 -6
gradio_demo.py
CHANGED
@@ -421,10 +421,7 @@ def restore(
|
|
421 |
print(information)
|
422 |
|
423 |
# Only one image can be shown in the slider
|
424 |
-
return [noisy_image] + [results[0]],
|
425 |
-
gr.update(format = output_format, value = [noisy_image] + results),
|
426 |
-
gr.update(value = information, visible = True),
|
427 |
-
event_id
|
428 |
|
429 |
def load_and_reset(param_setting):
|
430 |
print('load_and_reset ==>>')
|
@@ -505,8 +502,8 @@ claim_md = """
|
|
505 |
## **Piracy**
|
506 |
The images are not stored but the logs are saved during a month.
|
507 |
## **How to get SUPIR**
|
508 |
-
You can get SUPIR on HuggingFace by [https://huggingface.co/spaces/Fabrice-TIERCELIN/SUPIR?duplicate=true
|
509 |
-
You can also install SUPIR on your computer following [https://huggingface.co/blog/MonsterMMORPG/supir-sota-image-upscale-better-than-magnific-ai
|
510 |
## **Terms of use**
|
511 |
By using this service, users are required to agree to the following terms: The service is a research preview intended for non-commercial use only. It only provides limited safety measures and may generate offensive content. It must not be used for any illegal, harmful, violent, racist, or sexual purposes. The service may collect user dialogue data for future research. Please submit a feedback to us if you get any inappropriate answer! We will collect those to keep improving our models. For an optimal experience, please use desktop computers for this demo, as mobile devices may compromise its quality.
|
512 |
## **License**
|
|
|
421 |
print(information)
|
422 |
|
423 |
# Only one image can be shown in the slider
|
424 |
+
return [noisy_image] + [results[0]], gr.update(format = output_format, value = [noisy_image] + results), gr.update(value = information, visible = True), event_id
|
|
|
|
|
|
|
425 |
|
426 |
def load_and_reset(param_setting):
|
427 |
print('load_and_reset ==>>')
|
|
|
502 |
## **Piracy**
|
503 |
The images are not stored but the logs are saved during a month.
|
504 |
## **How to get SUPIR**
|
505 |
+
You can get SUPIR on HuggingFace by [duplicating this space](https://huggingface.co/spaces/Fabrice-TIERCELIN/SUPIR?duplicate=true) and set GPU.
|
506 |
+
You can also install SUPIR on your computer following [this tutorial](https://huggingface.co/blog/MonsterMMORPG/supir-sota-image-upscale-better-than-magnific-ai).
|
507 |
## **Terms of use**
|
508 |
By using this service, users are required to agree to the following terms: The service is a research preview intended for non-commercial use only. It only provides limited safety measures and may generate offensive content. It must not be used for any illegal, harmful, violent, racist, or sexual purposes. The service may collect user dialogue data for future research. Please submit a feedback to us if you get any inappropriate answer! We will collect those to keep improving our models. For an optimal experience, please use desktop computers for this demo, as mobile devices may compromise its quality.
|
509 |
## **License**
|