21spl commited on
Commit
6b1f82c
·
verified ·
1 Parent(s): 1e4e01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
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)