Spaces:
Running
on
Zero
Running
on
Zero
update project url
Browse files
app.py
CHANGED
@@ -202,7 +202,7 @@ with gr.Blocks() as demo:
|
|
202 |
gr.Markdown(
|
203 |
"""
|
204 |
# InstantIR: Blind Image Restoration with Instant Generative Reference.
|
205 |
-
### **Official 🤗 Gradio demo of [InstantIR](https://
|
206 |
### **InstantIR can not only help you restore your broken image, but also capable of imaginative re-creation following your text prompts. See advance usage for more details!**
|
207 |
## Basic usage: revitalize your image
|
208 |
1. Upload an image you want to restore;
|
@@ -219,8 +219,8 @@ with gr.Blocks() as demo:
|
|
219 |
steps = gr.Number(label="Steps", value=30, step=1)
|
220 |
cfg_scale = gr.Number(label="CFG Scale", value=7.0, step=0.1)
|
221 |
with gr.Row():
|
222 |
-
height = gr.Number(label="Height", step=1,
|
223 |
-
width = gr.Number(label="Width", step=1,
|
224 |
seed = gr.Number(label="Seed", value=42, step=1)
|
225 |
guidance_end = gr.Slider(label="Start Free Rendering", value=30, minimum=0, maximum=30, step=1)
|
226 |
preview_start = gr.Slider(label="Preview Start", value=0, minimum=0, maximum=30, step=1)
|
|
|
202 |
gr.Markdown(
|
203 |
"""
|
204 |
# InstantIR: Blind Image Restoration with Instant Generative Reference.
|
205 |
+
### **Official 🤗 Gradio demo of [InstantIR](https://github.com/instantX-research/InstantIR).**
|
206 |
### **InstantIR can not only help you restore your broken image, but also capable of imaginative re-creation following your text prompts. See advance usage for more details!**
|
207 |
## Basic usage: revitalize your image
|
208 |
1. Upload an image you want to restore;
|
|
|
219 |
steps = gr.Number(label="Steps", value=30, step=1)
|
220 |
cfg_scale = gr.Number(label="CFG Scale", value=7.0, step=0.1)
|
221 |
with gr.Row():
|
222 |
+
height = gr.Number(label="Height", step=1, maximum=MAX_IMAGE_SIZE)
|
223 |
+
width = gr.Number(label="Width", step=1, maximum=MAX_IMAGE_SIZE)
|
224 |
seed = gr.Number(label="Seed", value=42, step=1)
|
225 |
guidance_end = gr.Slider(label="Start Free Rendering", value=30, minimum=0, maximum=30, step=1)
|
226 |
preview_start = gr.Slider(label="Preview Start", value=0, minimum=0, maximum=30, step=1)
|