Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ if not hftoken:
|
|
| 15 |
api = HfApi(token=hftoken)
|
| 16 |
|
| 17 |
try:
|
| 18 |
-
client = InferenceClient("meta-llama/Meta-Llama-3-70B-Instruct", token=
|
| 19 |
except Exception as e:
|
| 20 |
print(f"rror initializing InferenceClient: {e}")
|
| 21 |
# 대체 모델을 사용하거나 오류 처리를 수행하세요.
|
|
|
|
| 15 |
api = HfApi(token=hftoken)
|
| 16 |
|
| 17 |
try:
|
| 18 |
+
client = InferenceClient("meta-llama/Meta-Llama-3-70B-Instruct", token="HF_TOKEN")
|
| 19 |
except Exception as e:
|
| 20 |
print(f"rror initializing InferenceClient: {e}")
|
| 21 |
# 대체 모델을 사용하거나 오류 처리를 수행하세요.
|