Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,5 +111,5 @@ agent = CodeAgent(
|
|
111 |
prompt_templates=prompt_templates
|
112 |
)
|
113 |
# Launch the Gradio interface
|
114 |
-
if
|
115 |
GradioUI(agent).launch()
|
|
|
111 |
prompt_templates=prompt_templates
|
112 |
)
|
113 |
# Launch the Gradio interface
|
114 |
+
if __name__ == "__main__":
|
115 |
GradioUI(agent).launch()
|