kusumakar commited on
Commit
73288c3
1 Parent(s): d9f60d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def generate_image(prompt):
31
 
32
  # Define the input and output components
33
  input_text = gr.inputs.Textbox(lines=10, label="Enter a prompt")
34
- output_image = gr.outputs.Image(label="Generated Image")
35
 
36
  # Create the Gradio interface
37
  iface = gr.Interface(
 
31
 
32
  # Define the input and output components
33
  input_text = gr.inputs.Textbox(lines=10, label="Enter a prompt")
34
+ output_image = gr.outputs.Image(type="pil", label="Generated Image")
35
 
36
  # Create the Gradio interface
37
  iface = gr.Interface(