Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from transformers import (
|
|
16 |
# ================================
|
17 |
# 1️⃣ Authenticate with Hugging Face Hub
|
18 |
# ================================
|
19 |
-
HF_TOKEN = "
|
20 |
login(token=HF_TOKEN) # Ensure authentication
|
21 |
|
22 |
# ================================
|
@@ -110,7 +110,7 @@ training_args = TrainingArguments(
|
|
110 |
logging_steps=500,
|
111 |
save_total_limit=2,
|
112 |
push_to_hub=True, # Fix: Properly authenticate Hugging Face Hub
|
113 |
-
hub_model_id="tahirsher/
|
114 |
hub_token=HF_TOKEN,
|
115 |
)
|
116 |
|
|
|
16 |
# ================================
|
17 |
# 1️⃣ Authenticate with Hugging Face Hub
|
18 |
# ================================
|
19 |
+
HF_TOKEN = "HF_TOKEN" # Replace with your Hugging Face token
|
20 |
login(token=HF_TOKEN) # Ensure authentication
|
21 |
|
22 |
# ================================
|
|
|
110 |
logging_steps=500,
|
111 |
save_total_limit=2,
|
112 |
push_to_hub=True, # Fix: Properly authenticate Hugging Face Hub
|
113 |
+
hub_model_id="tahirsher/ASR_Model_for_Transcription_into_Text", # Replace with your Hugging Face repo
|
114 |
hub_token=HF_TOKEN,
|
115 |
)
|
116 |
|