Rooni commited on
Commit
c29f697
·
verified ·
1 Parent(s): fd4f281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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.Markdown(show_label=False, value="""**Пример**
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