Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import spaces
|
| 2 |
from transformers import AutoModelForSeq2SeqLM,AutoTokenizer, pipeline
|
| 3 |
import gradio as grad
|
| 4 |
-
mdl_name = "oddadmix/msa-egyptian-translator-masrawy"
|
| 5 |
pipe = pipeline("translation", model=mdl_name, device = 'cuda')
|
| 6 |
|
| 7 |
@spaces.GPU
|
|
|
|
| 1 |
import spaces
|
| 2 |
from transformers import AutoModelForSeq2SeqLM,AutoTokenizer, pipeline
|
| 3 |
import gradio as grad
|
| 4 |
+
mdl_name = "oddadmix/bi-msa-egyptian-translator-masrawy"
|
| 5 |
pipe = pipeline("translation", model=mdl_name, device = 'cuda')
|
| 6 |
|
| 7 |
@spaces.GPU
|