Spaces:
Sleeping
Sleeping
Commit ·
8a61b15
1
Parent(s): d19c430
Fix: Update Gradio 6.x API endpoint configuration
Browse files
app.py
CHANGED
|
@@ -57,9 +57,6 @@ iface = gr.Interface(
|
|
| 57 |
# L'API est automatiquement exposée via /run/predict
|
| 58 |
)
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
server_port=7860,
|
| 64 |
-
share=False
|
| 65 |
-
)
|
|
|
|
| 57 |
# L'API est automatiquement exposée via /run/predict
|
| 58 |
)
|
| 59 |
|
| 60 |
+
# ✅ Lancement de l'interface
|
| 61 |
+
# Hugging Face Spaces détecte automatiquement l'interface Gradio
|
| 62 |
+
iface.launch()
|
|
|
|
|
|
|
|
|