Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def launch(pairs):
|
|
| 11 |
# iface = gr.Interface(fn=launch, inputs=gr.inputs.Textbox(lines=2, placeholder="Enter pairs here..."), outputs="text")
|
| 12 |
|
| 13 |
iface = gr.Interface(launch,
|
| 14 |
-
inputs=gr.
|
| 15 |
outputs="text")
|
| 16 |
|
| 17 |
iface.launch()
|
|
|
|
| 11 |
# iface = gr.Interface(fn=launch, inputs=gr.inputs.Textbox(lines=2, placeholder="Enter pairs here..."), outputs="text")
|
| 12 |
|
| 13 |
iface = gr.Interface(launch,
|
| 14 |
+
inputs=gr.JSON(label="Введите список пар предложений"),
|
| 15 |
outputs="text")
|
| 16 |
|
| 17 |
iface.launch()
|