Commit
•
2db8f8d
1
Parent(s):
1607e47
Update app.py
Browse files
app.py
CHANGED
@@ -3,10 +3,6 @@ from transformers import pipeline
|
|
3 |
import os
|
4 |
|
5 |
token = os.environ.get("HF_TOKEN")
|
6 |
-
gr.load("models/herzlicemi/37a0-5klk-3rla-0", hf_token=token).launch()
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
|
11 |
pipe = pipeline("translation", model="herzlicemi/37a0-5klk-3rla-0", token=token)
|
12 |
|
|
|
3 |
import os
|
4 |
|
5 |
token = os.environ.get("HF_TOKEN")
|
|
|
|
|
|
|
|
|
6 |
|
7 |
pipe = pipeline("translation", model="herzlicemi/37a0-5klk-3rla-0", token=token)
|
8 |
|