Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def predict(text, name):
|
|
7 |
return pipe(text)[0]["translation_text"]
|
8 |
|
9 |
demo = gr.Interface(
|
10 |
-
fn=predict
|
11 |
inputs('text','text'),
|
12 |
outputs='text' ,
|
13 |
)
|
|
|
7 |
return pipe(text)[0]["translation_text"]
|
8 |
|
9 |
demo = gr.Interface(
|
10 |
+
fn=predict,
|
11 |
inputs('text','text'),
|
12 |
outputs='text' ,
|
13 |
)
|