xnetba commited on
Commit
43d6ac4
·
1 Parent(s): 134ee73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def generate_image(text, model_name):
27
  return model.predict(text)
28
 
29
  input_text = gr.inputs.Textbox(label="Input Text")
30
- output_image = gr.outputs.Image(label="Generated Image")
31
 
32
  iface = gr.Interface(
33
  fn=generate_image,
 
27
  return model.predict(text)
28
 
29
  input_text = gr.inputs.Textbox(label="Input Text")
30
+ output_image = gr.outputs.Image(label="Generated Image", type="pil")
31
 
32
  iface = gr.Interface(
33
  fn=generate_image,