Spaces:
Sleeping
Sleeping
Vasudevakrishna
commited on
Commit
•
49c0a26
1
Parent(s):
14e4f93
Update app.py
Browse files
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(
|
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=
|
14 |
-
gr.Image(type="pil", height=
|
15 |
-
gr.Image(type="pil", height=
|
16 |
-
gr.Image(type="pil", height=
|
17 |
-
gr.Image(type="pil", height=
|
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
|