LittleMonkeyLab commited on
Commit
ba0c334
·
verified ·
1 Parent(s): 88dcce9

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -3,6 +3,7 @@ Main Gradio application for the AI Trading Experiment.
3
  Combines trading game, chatbot, and experiment tracking.
4
  """
5
 
 
6
  import gradio as gr
7
  import uuid
8
  import time
@@ -701,9 +702,4 @@ def create_app():
701
  # Launch the application
702
  if __name__ == "__main__":
703
  app = create_app()
704
- app.launch(
705
- server_name="0.0.0.0",
706
- server_port=int(os.environ.get("PORT", 7860)),
707
- debug=False, # safer for public
708
- share=False, # unnecessary on Spaces
709
- )
 
3
  Combines trading game, chatbot, and experiment tracking.
4
  """
5
 
6
+ import os
7
  import gradio as gr
8
  import uuid
9
  import time
 
702
  # Launch the application
703
  if __name__ == "__main__":
704
  app = create_app()
705
+ app.launch(debug=True)