AIresercher commited on
Commit
fb021bd
·
verified ·
1 Parent(s): b010d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(lines=1, placeholder="Enter pairs here..."),
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()