Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ with gr.Blocks() as demo:
|
|
| 44 |
with gr.Row():
|
| 45 |
prompt = gr.Textbox(label="Prompt", scale=8)
|
| 46 |
btn = gr.Button("Greet", scale=2)
|
| 47 |
-
output = gr.Image(label="Style-Aligned SDXL",
|
| 48 |
|
| 49 |
btn.click(fn=style_aligned_sdxl, inputs=prompt, outputs=output, api_name="style_aligned_sdxl")
|
| 50 |
|
|
|
|
| 44 |
with gr.Row():
|
| 45 |
prompt = gr.Textbox(label="Prompt", scale=8)
|
| 46 |
btn = gr.Button("Greet", scale=2)
|
| 47 |
+
output = gr.Image(label="Style-Aligned SDXL", type='pil')
|
| 48 |
|
| 49 |
btn.click(fn=style_aligned_sdxl, inputs=prompt, outputs=output, api_name="style_aligned_sdxl")
|
| 50 |
|