Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,14 +92,12 @@ div.svelte-19hvt5v {
|
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
with gr.Tab("Исправление опечаток"):
|
94 |
with gr.Row():
|
95 |
-
promt = gr.Textbox(show_label=True, label="Запрос", lines=3)
|
96 |
with gr.Row():
|
97 |
text_button = gr.Button("Генерация", variant='primary')
|
98 |
with gr.Row():
|
99 |
with gr.Tab("Ответ"):
|
100 |
-
text_output = gr.
|
101 |
-
Запрос: Привет как делпа ?
|
102 |
-
Ответ: Привет, как дела?""")
|
103 |
|
104 |
text_button.click(generate, inputs=[promt], outputs=[text_output], concurrency_limit=512)
|
105 |
|
|
|
92 |
with gr.Blocks(css=css) as demo:
|
93 |
with gr.Tab("Исправление опечаток"):
|
94 |
with gr.Row():
|
95 |
+
promt = gr.Textbox(show_label=True, label="Запрос", lines=3, placeholder="Привет как делпа ?")
|
96 |
with gr.Row():
|
97 |
text_button = gr.Button("Генерация", variant='primary')
|
98 |
with gr.Row():
|
99 |
with gr.Tab("Ответ"):
|
100 |
+
text_output = gr.Textbox(show_label=False, placeholder="Привет, как дела?")
|
|
|
|
|
101 |
|
102 |
text_button.click(generate, inputs=[promt], outputs=[text_output], concurrency_limit=512)
|
103 |
|