Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,14 +83,6 @@ agent = ReactCodeAgent(tools=[image_generation_tool, search_tool], llm_engine=ll
|
|
83 |
|
84 |
|
85 |
|
86 |
-
# Paths to the precomputed files
|
87 |
-
default_images = [
|
88 |
-
("car_past.png", "Car - Past"),
|
89 |
-
("car_present.png", "Car - Present"),
|
90 |
-
("car_future.png", "Car - Future")
|
91 |
-
]
|
92 |
-
default_gif_path = "car_evolution.gif"
|
93 |
-
|
94 |
# Gradio interface
|
95 |
def create_gradio_interface():
|
96 |
with gr.Blocks() as demo:
|
@@ -106,6 +98,14 @@ def create_gradio_interface():
|
|
106 |
Below, you can see a precomputed example of a "car" evolution. Enter another object to generate its evolution.
|
107 |
""")
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
with gr.Row():
|
110 |
with gr.Column():
|
111 |
# Textbox for user to input an object name
|
|
|
83 |
|
84 |
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
# Gradio interface
|
87 |
def create_gradio_interface():
|
88 |
with gr.Blocks() as demo:
|
|
|
98 |
Below, you can see a precomputed example of a "car" evolution. Enter another object to generate its evolution.
|
99 |
""")
|
100 |
|
101 |
+
# Paths to the precomputed files
|
102 |
+
default_images = [
|
103 |
+
("car_past.png", "Car - Past"),
|
104 |
+
("car_present.png", "Car - Present"),
|
105 |
+
("car_future.png", "Car - Future")
|
106 |
+
]
|
107 |
+
default_gif_path = "car_evolution.gif"
|
108 |
+
|
109 |
with gr.Row():
|
110 |
with gr.Column():
|
111 |
# Textbox for user to input an object name
|