Spaces:
Runtime error
Runtime error
Really-amin
commited on
Commit
•
9ad42aa
1
Parent(s):
a4cedd3
Update app.py
Browse files
app.py
CHANGED
@@ -59,9 +59,8 @@ logger = logging.getLogger(__name__)
|
|
59 |
class Config:
|
60 |
"""تنظیمات اصلی برنامه"""
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
CHAT_ID = "YOUR_CHAT_ID"
|
65 |
|
66 |
# تنظیمات مسیرها
|
67 |
BASE_DIR = BASE_DIR
|
@@ -71,7 +70,7 @@ class Config:
|
|
71 |
TEMPLATES_DIR = TEMPLATES_DIR
|
72 |
|
73 |
# تنظیمات مدل
|
74 |
-
MODEL_NAME = "bigscience/bloom-
|
75 |
MAX_LENGTH = 200
|
76 |
MIN_LENGTH = 20
|
77 |
TEMPERATURE = 0.7
|
|
|
59 |
class Config:
|
60 |
"""تنظیمات اصلی برنامه"""
|
61 |
|
62 |
+
TELEGRAM_TOKEN = "7437859619:AAGeGG3ZkLM0OVaw-Exx1uMRE55JtBCZZCY"
|
63 |
+
CHAT_ID = "-1002228627548"
|
|
|
64 |
|
65 |
# تنظیمات مسیرها
|
66 |
BASE_DIR = BASE_DIR
|
|
|
70 |
TEMPLATES_DIR = TEMPLATES_DIR
|
71 |
|
72 |
# تنظیمات مدل
|
73 |
+
MODEL_NAME = "bigscience/bloom-560m" # استفاده از مدل کوچکتر
|
74 |
MAX_LENGTH = 200
|
75 |
MIN_LENGTH = 20
|
76 |
TEMPERATURE = 0.7
|