Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,6 @@ pipe = pipeline("translation", model="t5-base")
|
|
7 |
def predict(text):
|
8 |
return pipe(text)[0]["translation_text"]
|
9 |
|
10 |
-
title = "English to Spanish Translation (forked from osanseviero/test_gradio)"
|
11 |
-
|
12 |
iface = gr.Interface(
|
13 |
fn=predict,
|
14 |
inputs=[gr.inputs.Textbox(label="text", lines=3)],
|
|
|
7 |
def predict(text):
|
8 |
return pipe(text)[0]["translation_text"]
|
9 |
|
|
|
|
|
10 |
iface = gr.Interface(
|
11 |
fn=predict,
|
12 |
inputs=[gr.inputs.Textbox(label="text", lines=3)],
|