Rooni commited on
Commit
e3eac0c
·
verified ·
1 Parent(s): eed8546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,7 +71,7 @@ role_names = load_role_names()
71
 
72
  # UI
73
  with gr.Blocks(css=css) as demo:
74
- gr.Markdown("# EasyGemini")
75
  with gr.Tab("Запрос"):
76
  with gr.Row():
77
  promt = gr.Textbox(show_label=True, label="Запрос", lines=3)
@@ -80,7 +80,7 @@ with gr.Blocks(css=css) as demo:
80
  helper_role = gr.Radio(show_label=True, label="Выберите помощника", interactive=True, choices=role_names, value=role_names[0])
81
  with gr.Tab("Настройки"):
82
  with gr.Row():
83
- max_tokens = gr.Slider(show_label=True, label="Максимальное количество символов", minimum=100, maximum=8000, value=4000, step=1)
84
  with gr.Row():
85
  text_button = gr.Button("Генерация", variant='primary')
86
  with gr.Row():
 
71
 
72
  # UI
73
  with gr.Blocks(css=css) as demo:
74
+ gr.Markdown("# EasyText")
75
  with gr.Tab("Запрос"):
76
  with gr.Row():
77
  promt = gr.Textbox(show_label=True, label="Запрос", lines=3)
 
80
  helper_role = gr.Radio(show_label=True, label="Выберите помощника", interactive=True, choices=role_names, value=role_names[0])
81
  with gr.Tab("Настройки"):
82
  with gr.Row():
83
+ max_tokens = gr.Slider(show_label=True, label="Максимальное количество токенов", minimum=100, maximum=32000, value=4000, step=1)
84
  with gr.Row():
85
  text_button = gr.Button("Генерация", variant='primary')
86
  with gr.Row():