Kvikontent commited on
Commit
3ec7f4c
·
1 Parent(s): 5fa930c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -228,8 +228,8 @@ def generate_image(prompt):
228
 
229
  iface = gr.Interface(
230
  fn=generate_image,
231
- inputs=gr.inputs.Textbox(label="Enter prompt", type="bytes"),
232
- outputs="text",
233
  title="KVIImager 2.0 - Image Generator",
234
  description="Generate images based on a prompt.",
235
  examples=[
 
228
 
229
  iface = gr.Interface(
230
  fn=generate_image,
231
+ inputs=gr.inputs.Textbox(label="Enter prompt"),
232
+ outputs=gr.outputs.Image(label="Generated Image"),
233
  title="KVIImager 2.0 - Image Generator",
234
  description="Generate images based on a prompt.",
235
  examples=[