IinjyI commited on
Commit
cb501de
·
verified ·
1 Parent(s): c469ecf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,6 +141,6 @@ def create_upload_file(file: UploadFile = File(...)):
141
  return {"summary": translate_pretrained(text)}
142
 
143
 
144
- demo = gr.Interface(fn=translate_pretrained, inputs="text", outputs="text")
145
  demo.launch(share=True)
146
 
 
141
  return {"summary": translate_pretrained(text)}
142
 
143
 
144
+ demo = gr.Interface(fn=translate, inputs="text", outputs="text")
145
  demo.launch(share=True)
146