Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
| 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")
|