Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ pipe = pipeline("text2text-generation", model="mohamedtolba/franco-arabics")
|
|
6 |
def translate(text):
|
7 |
return pipe(text)
|
8 |
|
9 |
-
demo = gr.Interface(fn=
|
10 |
demo.launch()
|
|
|
6 |
def translate(text):
|
7 |
return pipe(text)
|
8 |
|
9 |
+
demo = gr.Interface(fn=translate, inputs="text", outputs="text")
|
10 |
demo.launch()
|