Replace HF repo name with hardcoded string
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ import os
|
|
| 7 |
import utils
|
| 8 |
|
| 9 |
# Get pipeline from Hugging Face Hub
|
| 10 |
-
pipe = pipeline("translation", model=
|
| 11 |
# Model to enter evaluation mode
|
| 12 |
pipe.model.eval()
|
| 13 |
|
|
|
|
| 7 |
import utils
|
| 8 |
|
| 9 |
# Get pipeline from Hugging Face Hub
|
| 10 |
+
pipe = pipeline("translation", model="eepj/wstcg-mt-ja-en")
|
| 11 |
# Model to enter evaluation mode
|
| 12 |
pipe.model.eval()
|
| 13 |
|