Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,9 @@ if ADMIN_ID == 0:
|
|
40 |
print("Warning: TELEGRAM_ADMIN_ID not set or is 0. Admin features will be disabled.", file=sys.stderr)
|
41 |
|
42 |
# --- Directories and Files ---
|
43 |
-
|
44 |
-
|
|
|
45 |
CHANNELS_FILE = "channels.json"
|
46 |
os.makedirs(DOWNLOAD_DIR, exist_ok=True)
|
47 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
|
|
40 |
print("Warning: TELEGRAM_ADMIN_ID not set or is 0. Admin features will be disabled.", file=sys.stderr)
|
41 |
|
42 |
# --- Directories and Files ---
|
43 |
+
# کد صحیح
|
44 |
+
DOWNLOAD_DIR = "/tmp/downloads"
|
45 |
+
OUTPUT_DIR = "/tmp/outputs"
|
46 |
CHANNELS_FILE = "channels.json"
|
47 |
os.makedirs(DOWNLOAD_DIR, exist_ok=True)
|
48 |
os.makedirs(OUTPUT_DIR, exist_ok=True)
|