Update app.py
Browse files
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=
|
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 |
|