Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,4 +183,11 @@ with gr.Blocks(title="Eroha Summarizer PRO++++ v2.1.1") as iface:
|
|
| 183 |
gr.Markdown("---\n✨ _Eroha Intelligence Suite © 2025 — by Yermek68_")
|
| 184 |
|
| 185 |
if __name__ == "__main__":
|
| 186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
gr.Markdown("---\n✨ _Eroha Intelligence Suite © 2025 — by Yermek68_")
|
| 184 |
|
| 185 |
if __name__ == "__main__":
|
| 186 |
+
import os
|
| 187 |
+
iface.launch(
|
| 188 |
+
server_name="0.0.0.0",
|
| 189 |
+
server_port=int(os.getenv("PORT", 7860)),
|
| 190 |
+
show_api=False,
|
| 191 |
+
prevent_thread_lock=True # ✅ исправляет Invalid file descriptor
|
| 192 |
+
)
|
| 193 |
+
|