ysharma HF staff commited on
Commit
52b3437
1 Parent(s): 34170ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", typpe='pil')
48
 
49
  btn.click(fn=style_aligned_sdxl, inputs=prompt, outputs=output, api_name="style_aligned_sdxl")
50