Den4ikAI commited on
Commit
0b9061a
1 Parent(s): 301008d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -98,8 +98,8 @@ def punctuate(input_text, model_name):
98
  iface = gr.Interface(
99
  fn=punctuate,
100
  inputs=[
101
- gr.inputs.Textbox(lines=5, placeholder="Введите текст"),
102
- gr.inputs.Radio(list(models.keys()), label="Модель")
103
  ],
104
  outputs="text",
105
  title="RUPunct",
 
98
  iface = gr.Interface(
99
  fn=punctuate,
100
  inputs=[
101
+ gr.components.Textbox(lines=5, placeholder="Введите текст"),
102
+ gr.components.Radio(list(models.keys()), label="Модель")
103
  ],
104
  outputs="text",
105
  title="RUPunct",