Update app.py
Browse files
app.py
CHANGED
@@ -149,8 +149,10 @@ def create_gradio_interface():
|
|
149 |
with gr.Column():
|
150 |
object_name_input = gr.Textbox(label="Enter an object name", placeholder="e.g. bicycle, car, phone")
|
151 |
generate_button = gr.Button("Generate Evolution")
|
152 |
-
image_gallery = gr.Gallery(label="Generated Images", columns=3, rows=1, value=default_images, type="filepath")
|
153 |
-
gif_output = gr.Image(label="Generated GIF", value=default_gif_path, type="filepath")
|
|
|
|
|
154 |
|
155 |
generate_button.click(fn=generate_object_history, inputs=[object_name_input], outputs=[image_gallery, gif_output])
|
156 |
|
|
|
149 |
with gr.Column():
|
150 |
object_name_input = gr.Textbox(label="Enter an object name", placeholder="e.g. bicycle, car, phone")
|
151 |
generate_button = gr.Button("Generate Evolution")
|
152 |
+
#image_gallery = gr.Gallery(label="Generated Images", columns=3, rows=1, value=default_images, type="filepath")
|
153 |
+
#gif_output = gr.Image(label="Generated GIF", value=default_gif_path, type="filepath")
|
154 |
+
image_gallery = gr.Gallery(label="Generated Images", columns=3, rows=1, type="filepath")
|
155 |
+
gif_output = gr.Image(label="Generated GIF", type="filepath")
|
156 |
|
157 |
generate_button.click(fn=generate_object_history, inputs=[object_name_input], outputs=[image_gallery, gif_output])
|
158 |
|