Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -98,8 +98,8 @@ def punctuate(input_text, model_name):
|
|
98 |
iface = gr.Interface(
|
99 |
fn=punctuate,
|
100 |
inputs=[
|
101 |
-
gr.
|
102 |
-
gr.
|
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",
|