Update app.py
Browse files
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}")
|