Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,9 +51,9 @@ iface = gr.Interface(
|
|
| 51 |
inputs=[
|
| 52 |
gr.Dropdown(choices=period_names.tolist(), label="Period 1"),
|
| 53 |
gr.Dropdown(choices=period_names.tolist(), label="Period 2"),
|
| 54 |
-
gr.Slider(0, 1, step=0.1, label="Interpolation",
|
| 55 |
],
|
| 56 |
-
outputs=gr.Image(label="Generated Image")
|
| 57 |
)
|
| 58 |
|
| 59 |
if __name__ == "__main__":
|
|
|
|
| 51 |
inputs=[
|
| 52 |
gr.Dropdown(choices=period_names.tolist(), label="Period 1"),
|
| 53 |
gr.Dropdown(choices=period_names.tolist(), label="Period 2"),
|
| 54 |
+
gr.Slider(0, 1, step=0.1, label="Interpolation", live=True)
|
| 55 |
],
|
| 56 |
+
outputs=gr.Image(label="Generated Image", height=218, width=178) # Set height and width as desired
|
| 57 |
)
|
| 58 |
|
| 59 |
if __name__ == "__main__":
|