Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,8 @@ demo = gr.Interface(
|
|
| 63 |
description=description,
|
| 64 |
allow_flagging="never",
|
| 65 |
examples=[
|
| 66 |
-
["https://images.unsplash.com/photo-1552374196-c4e7ffc6e126?w=400"],
|
| 67 |
-
["https://images.unsplash.com/photo-1543163521-1bf539c55dd2?w=400"]
|
| 68 |
]
|
| 69 |
)
|
| 70 |
|
|
@@ -73,6 +73,6 @@ if __name__ == "__main__":
|
|
| 73 |
# Cette configuration est cruciale pour Hugging Face Spaces
|
| 74 |
demo.launch(
|
| 75 |
debug=True,
|
| 76 |
-
server_name="0.0.0.0",
|
| 77 |
-
server_port=int(os.environ.get("PORT", 7860))
|
| 78 |
)
|
|
|
|
| 63 |
description=description,
|
| 64 |
allow_flagging="never",
|
| 65 |
examples=[
|
| 66 |
+
["https://images.unsplash.com/photo-1552374196-c4e7ffc6e126?w=400"],
|
| 67 |
+
["https://images.unsplash.com/photo-1543163521-1bf539c55dd2?w=400"]
|
| 68 |
]
|
| 69 |
)
|
| 70 |
|
|
|
|
| 73 |
# Cette configuration est cruciale pour Hugging Face Spaces
|
| 74 |
demo.launch(
|
| 75 |
debug=True,
|
| 76 |
+
server_name="0.0.0.0",
|
| 77 |
+
server_port=int(os.environ.get("PORT", 7860))
|
| 78 |
)
|