Spaces:
Runtime error
Runtime error
vijaydhanda
commited on
Commit
•
13d29d4
1
Parent(s):
8e07973
update
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
model = pipeline("translation", model="
|
5 |
|
6 |
def translate(text):
|
7 |
translations = model(text)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
model = pipeline("translation", model="anjankumar/Anjan-finetuned-iitbombay-en-to-hi")
|
5 |
|
6 |
def translate(text):
|
7 |
translations = model(text)
|