Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,4 +115,9 @@ iface = gr.Interface(
|
|
| 115 |
description="Chatbot psychologue multilingue basé sur GPT + BERT + MiniBERT"
|
| 116 |
)
|
| 117 |
|
| 118 |
-
iface.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
description="Chatbot psychologue multilingue basé sur GPT + BERT + MiniBERT"
|
| 116 |
)
|
| 117 |
|
| 118 |
+
iface.launch(
|
| 119 |
+
server_name="0.0.0.0", # pour accepter connexions externes
|
| 120 |
+
server_port=7860, # port par défaut HF Spaces
|
| 121 |
+
share=False, # pas besoin de lien ngrok
|
| 122 |
+
show_api=True # expose /run/predict
|
| 123 |
+
)
|