JOY-Huang commited on
Commit
2e7ff51
·
1 Parent(s): 7eb74c8

update project url

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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://arxiv.org/abs/2410.06551).**
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, placeholder="Auto", maximum=MAX_IMAGE_SIZE)
223
- width = gr.Number(label="Width", step=1, placeholder="Auto", 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)
 
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)