Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,9 +73,7 @@ agent = CodeAgent(
|
|
| 73 |
prompt_templates=prompt_templates
|
| 74 |
)
|
| 75 |
|
| 76 |
-
# Launch the Gradio UI
|
| 77 |
-
if __name__ == "__main__":
|
| 78 |
-
GradioUI(agent).launch()
|
| 79 |
-
|
| 80 |
-
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
prompt_templates=prompt_templates
|
| 74 |
)
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
+
if __name__ == "__main__":
|
| 78 |
+
from Gradio_UI import demo # Import Gradio app
|
| 79 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|