paranitik commited on
Commit
33f55fb
1 Parent(s): de03de3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  from transformers import pipeline
4
 
5
- pipe = pipeline("text-generation", model="ai-forever/mGPT-1.3B-turkmen")
6
 
7
 
8
  def translate(text):
 
2
 
3
  from transformers import pipeline
4
 
5
+ pipe = pipeline("translation", model="ai-forever/mGPT-1.3B-turkmen")
6
 
7
 
8
  def translate(text):