Fabrice-TIERCELIN
commited on
Commit
•
59dedb4
1
Parent(s):
d4b6d48
Disable option
Browse files- gradio_demo.py +2 -2
gradio_demo.py
CHANGED
@@ -290,7 +290,7 @@ def submit_feedback(event_id, fb_score, fb_text):
|
|
290 |
title_html = """
|
291 |
<h1><center>SUPIR</center></h1>
|
292 |
<big><center>Upscale your images up to x8 freely, without account, without watermark and download it</center></big>
|
293 |
-
<
|
294 |
|
295 |
<p>This is an online demo of SUPIR, a practicing model scaling for photo-realistic image restoration.
|
296 |
It is still a research project under tested and is not yet a stable commercial product.
|
@@ -341,7 +341,7 @@ with gr.Blocks(title="SUPIR") as interface:
|
|
341 |
'hyper sharpness, perfect without deformations.',
|
342 |
lines=3)
|
343 |
a_prompt_hint = gr.HTML("You can use a <a href='"'https://huggingface.co/spaces/MaziyarPanahi/llava-llama-3-8b'"'>LlaVa space</a> to auto-generate the description of your image.")
|
344 |
-
output_format = gr.Radio([["
|
345 |
|
346 |
with gr.Accordion("Pre-denoising (optional)", open=False):
|
347 |
gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)
|
|
|
290 |
title_html = """
|
291 |
<h1><center>SUPIR</center></h1>
|
292 |
<big><center>Upscale your images up to x8 freely, without account, without watermark and download it</center></big>
|
293 |
+
<center>🤸<big><big><big><big><big><big><big><big>🤸</big></big></big></big></big></big></big></big></center>
|
294 |
|
295 |
<p>This is an online demo of SUPIR, a practicing model scaling for photo-realistic image restoration.
|
296 |
It is still a research project under tested and is not yet a stable commercial product.
|
|
|
341 |
'hyper sharpness, perfect without deformations.',
|
342 |
lines=3)
|
343 |
a_prompt_hint = gr.HTML("You can use a <a href='"'https://huggingface.co/spaces/MaziyarPanahi/llava-llama-3-8b'"'>LlaVa space</a> to auto-generate the description of your image.")
|
344 |
+
output_format = gr.Radio([["*.png", "png"], ["*.webp", "webp"], ["*.jpeg", "jpeg"], ["*.gif", "gif"], ["*.bmp", "bmp"]], label="Image format for result", info="File extention", value="png", interactive=True)
|
345 |
|
346 |
with gr.Accordion("Pre-denoising (optional)", open=False):
|
347 |
gamma_correction = gr.Slider(label="Gamma Correction", info = "lower=lighter, higher=darker", minimum=0.1, maximum=2.0, value=1.0, step=0.1)
|