Spaces:
Runtime error
Runtime error
DinoDelija
commited on
Commit
•
591b5bc
1
Parent(s):
98e261c
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
1 |
+
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
+
pipe = pipeline("translation", model="models/DinoDelija/nllb_english_fering_v1")
|
5 |
+
|
6 |
+
demo = gr.Interface.from_pipeline(pipe)
|
7 |
+
demo.launch()
|