rahulved commited on
Commit
c49f38d
1 Parent(s): 88a10eb

Fixed app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def gen_image(text_input):
26
 
27
  demo = gr.Interface(
28
  fn=gen_image,
29
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter your text here..."),
30
- outputs=gr.outputs.Image(type="pil"),
31
  title="Text to Image Generator",
32
  description="Enter text to generate an image using a custom PyTorch model."
33
  )
 
26
 
27
  demo = gr.Interface(
28
  fn=gen_image,
29
+ inputs=gr.Textbox(lines=2, placeholder="Enter your text here..."),
30
+ outputs=gr.Image(type="pil"),
31
  title="Text to Image Generator",
32
  description="Enter text to generate an image using a custom PyTorch model."
33
  )