Kvikontent commited on
Commit
2daab00
·
verified ·
1 Parent(s): 7401ef3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,9 +14,9 @@ def predict(text_input):
14
  iface = gr.Interface(
15
  fn=predict,
16
  inputs=gr.Textbox(lines=5, label="Input Text"),
17
- outputs="text",
18
  title="Diffusion Pipeline App",
19
- description="Enter the text to get the model's predictions on the input."
20
  )
21
 
22
  # Launch the Gradio interface
 
14
  iface = gr.Interface(
15
  fn=predict,
16
  inputs=gr.Textbox(lines=5, label="Input Text"),
17
+ outputs=gr.Image(type="numpy", label="Output Image"),
18
  title="Diffusion Pipeline App",
19
+ description="Enter the text to get the model's predictions as an output image."
20
  )
21
 
22
  # Launch the Gradio interface