Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ original_model_name = "Vishwas1/hummingbird-base-marathi" # Replace with your o
|
|
| 15 |
fine_tuned_model_name = "Vishwas1/hummingbird-finetuned-marathi" # Replace with your fine-tuned model's repo ID
|
| 16 |
|
| 17 |
# Load models
|
| 18 |
-
hf_token = os.getenv('
|
| 19 |
if not hf_token:
|
| 20 |
raise ValueError("Error: Hugging Face token not found. Please set it as an environment variable.")
|
| 21 |
|
|
|
|
| 15 |
fine_tuned_model_name = "Vishwas1/hummingbird-finetuned-marathi" # Replace with your fine-tuned model's repo ID
|
| 16 |
|
| 17 |
# Load models
|
| 18 |
+
hf_token = os.getenv('HF_API_TOKEN')
|
| 19 |
if not hf_token:
|
| 20 |
raise ValueError("Error: Hugging Face token not found. Please set it as an environment variable.")
|
| 21 |
|