Spaces:
Sleeping
Sleeping
fix: 修复ai_model.py中的缩进错误
Browse files- modules/ai_model.py +0 -1
modules/ai_model.py
CHANGED
|
@@ -18,7 +18,6 @@ class AIModel:
|
|
| 18 |
self._initialize_model()
|
| 19 |
|
| 20 |
def _authenticate_hf(self):
|
| 21 |
-
def _authenticate_hf(self):
|
| 22 |
try:
|
| 23 |
# 从环境变量获取HF token
|
| 24 |
hf_token = os.getenv("Assitant_tocken")
|
|
|
|
| 18 |
self._initialize_model()
|
| 19 |
|
| 20 |
def _authenticate_hf(self):
|
|
|
|
| 21 |
try:
|
| 22 |
# 从环境变量获取HF token
|
| 23 |
hf_token = os.getenv("Assitant_tocken")
|