Vasudevakrishna commited on
Commit
49c0a26
1 Parent(s): 14e4f93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -6,15 +6,15 @@ from utils import generate_gradio_images
6
  iface = gr.Interface(
7
  fn=generate_gradio_images, # Set to None since we won't use a function
8
  inputs=[
9
- gr.Textbox("Enter Prompt"),
10
  gr.Slider("Time Stamps", value=1, step=1, maximum=50),
11
  gr.Checkbox(label = "Use custom loss",value=False)
12
  ],
13
- outputs=[gr.Image(type="pil", height=128, width = 128),
14
- gr.Image(type="pil", height=128, width = 128),
15
- gr.Image(type="pil", height=128, width = 128),
16
- gr.Image(type="pil", height=128, width = 128),
17
- gr.Image(type="pil", height=128, width = 128)] # Gradio Image component for displaying images
18
  )
19
 
20
  # Launch the Gradio interface
 
6
  iface = gr.Interface(
7
  fn=generate_gradio_images, # Set to None since we won't use a function
8
  inputs=[
9
+ gr.Textbox(),
10
  gr.Slider("Time Stamps", value=1, step=1, maximum=50),
11
  gr.Checkbox(label = "Use custom loss",value=False)
12
  ],
13
+ outputs=[gr.Image(type="pil", height=512, width = 512),
14
+ gr.Image(type="pil", height=512, width = 512),
15
+ gr.Image(type="pil", height=512, width = 512),
16
+ gr.Image(type="pil", height=512, width = 512),
17
+ gr.Image(type="pil", height=512, width = 512)] # Gradio Image component for displaying images
18
  )
19
 
20
  # Launch the Gradio interface