Vasudevakrishna commited on
Commit
f0571af
·
verified ·
1 Parent(s): fab72c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ 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.Number("Time Stamps", value=1, step=1, maximum=50)
 
11
  ],
12
  outputs=gr.Image() # Gradio Image component for displaying images
13
  )
 
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() # Gradio Image component for displaying images
14
  )