Spaces:
Runtime error
Runtime error
Fixed the runtime error
Browse files
app.py
CHANGED
|
@@ -24,10 +24,9 @@ def inference(text, model):
|
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
inference,
|
| 27 |
-
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["opus-mt-zh-en","opus-mt-en-de"], type="value", default="opus-mt-zh-en", label="model")
|
| 28 |
-
],
|
| 29 |
-
gr.outputs.Textbox(label="Output"),
|
| 30 |
examples=examples,
|
| 31 |
article=article,
|
| 32 |
title=title,
|
| 33 |
-
description=description).launch(enable_queue=True
|
|
|
|
| 24 |
|
| 25 |
gr.Interface(
|
| 26 |
inference,
|
| 27 |
+
[gr.inputs.Textbox(label="Input"),gr.inputs.Dropdown(choices=["opus-mt-zh-en","opus-mt-en-de"], type="value", default="opus-mt-zh-en", label="model")],
|
| 28 |
+
[gr.outputs.Textbox(label="Output")],
|
|
|
|
| 29 |
examples=examples,
|
| 30 |
article=article,
|
| 31 |
title=title,
|
| 32 |
+
description=description).launch(enable_queue=True)
|