Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(css=css, theme='YTheme/Sketch') as vui:
|
|
82 |
max_tokens = gr.Slider(show_label=True, label="Максимальное количество токенов", minimum=100, maximum=4500, value=2500, step=1)
|
83 |
text_button = gr.Button("Генерация", variant='primary', elem_id="generate")
|
84 |
with gr.Column():
|
85 |
-
with gr.Tab("Ответ")
|
86 |
text_output = gr.Textbox(show_label=False, placeholder="Здравствуйте, давайте начнём!")
|
87 |
text_button.click(generate, inputs=[clas, sloh, zad, theme, pred, model, max_tokens], outputs=text_output, queue=False)
|
88 |
|
|
|
82 |
max_tokens = gr.Slider(show_label=True, label="Максимальное количество токенов", minimum=100, maximum=4500, value=2500, step=1)
|
83 |
text_button = gr.Button("Генерация", variant='primary', elem_id="generate")
|
84 |
with gr.Column():
|
85 |
+
with gr.Tab("Ответ"):
|
86 |
text_output = gr.Textbox(show_label=False, placeholder="Здравствуйте, давайте начнём!")
|
87 |
text_button.click(generate, inputs=[clas, sloh, zad, theme, pred, model, max_tokens], outputs=text_output, queue=False)
|
88 |
|