Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
# analyzer_agent_gradio/app.py — Telegram Analyzer Agent (Gradio/Scheduler Only)
|
| 3 |
# Uses Replit Proxy for Telegram API access.
|
| 4 |
# ============================================================
|
| 5 |
-
|
| 6 |
import os
|
| 7 |
import json
|
| 8 |
import asyncio
|
|
@@ -423,7 +423,7 @@ if __name__ == "__main__":
|
|
| 423 |
threading.Thread(target=start_gradio, daemon=True).start()
|
| 424 |
|
| 425 |
# 2. بدء المجدول للمهمة الدورية
|
| 426 |
-
scheduler.add_job(daily_job_wrapper, "cron", hour=
|
| 427 |
scheduler.start()
|
| 428 |
log.info("Scheduler started for daily analysis.")
|
| 429 |
|
|
|
|
| 2 |
# analyzer_agent_gradio/app.py — Telegram Analyzer Agent (Gradio/Scheduler Only)
|
| 3 |
# Uses Replit Proxy for Telegram API access.
|
| 4 |
# ============================================================
|
| 5 |
+
import huggingface_hub
|
| 6 |
import os
|
| 7 |
import json
|
| 8 |
import asyncio
|
|
|
|
| 423 |
threading.Thread(target=start_gradio, daemon=True).start()
|
| 424 |
|
| 425 |
# 2. بدء المجدول للمهمة الدورية
|
| 426 |
+
scheduler.add_job(daily_job_wrapper, "cron", hour=12, minute=20)
|
| 427 |
scheduler.start()
|
| 428 |
log.info("Scheduler started for daily analysis.")
|
| 429 |
|