alexnasa commited on
Commit
e292ae4
Β·
verified Β·
1 Parent(s): 2170450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -292,9 +292,9 @@ with gr.Blocks(css=css, theme=theme) as demo:
292
  )
293
  with gr.Row():
294
  with gr.Column():
295
- input_image = gr.Image(type="pil")
296
  run_button = gr.Button("πŸ”Ž Magnify 4x", variant="primary")
297
- preprocessed_image = gr.Image(label="preprocess image", type="pil", interactive=False)
298
  with gr.Accordion("Options", visible=False):
299
  user_prompt = gr.Textbox(label="User Prompt", value="")
300
  positive_prompt = gr.Textbox(label="Positive Prompt", value="clean, high-resolution, 8k, best quality, masterpiece")
 
292
  )
293
  with gr.Row():
294
  with gr.Column():
295
+ input_image = gr.Image(type="pil", height=256)
296
  run_button = gr.Button("πŸ”Ž Magnify 4x", variant="primary")
297
+ preprocessed_image = gr.Image(label="preprocessed image(256x256)", type="pil", interactive=False, height=256)
298
  with gr.Accordion("Options", visible=False):
299
  user_prompt = gr.Textbox(label="User Prompt", value="")
300
  positive_prompt = gr.Textbox(label="Positive Prompt", value="clean, high-resolution, 8k, best quality, masterpiece")