Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,8 @@ print("--- Logging in to Hugging Face Hub ---")
|
|
| 35 |
login(token=HF_TOKEN)
|
| 36 |
|
| 37 |
# --- Step 2: Initialize Model and Tokenizer ---
|
| 38 |
-
MODEL_NAME = "Gregniuki/Qwen3-0.6B-translate-EN-PL-EN"
|
| 39 |
-
|
| 40 |
print(f"--- Loading model from Hugging Face Hub: {MODEL_NAME} ---")
|
| 41 |
|
| 42 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
|
| 35 |
login(token=HF_TOKEN)
|
| 36 |
|
| 37 |
# --- Step 2: Initialize Model and Tokenizer ---
|
| 38 |
+
#MODEL_NAME = "Gregniuki/Qwen3-0.6B-translate-EN-PL-EN"
|
| 39 |
+
MODEL_NAME = "Gregniuki/Qwen3-1.7B-translatate-En-Pl-En"
|
| 40 |
print(f"--- Loading model from Hugging Face Hub: {MODEL_NAME} ---")
|
| 41 |
|
| 42 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|