Ali2206 commited on
Commit
d756c15
·
verified ·
1 Parent(s): 1d2016b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if __name__ == "__main__":
126
  raise AttributeError("TxAgent missing run_gradio_chat")
127
 
128
  demo = create_ui(agent)
129
- demo.launch(show_error=True)
130
 
131
  except Exception as e:
132
  print(f"❌ App failed to start: {e}")
 
126
  raise AttributeError("TxAgent missing run_gradio_chat")
127
 
128
  demo = create_ui(agent)
129
+ demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)
130
 
131
  except Exception as e:
132
  print(f"❌ App failed to start: {e}")