John6666 commited on
Commit
0126645
·
verified ·
1 Parent(s): d4fd350

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks(fill_width=True, elem_id="container", css=css, delete_cache=(60,
159
  recom_prompt = gr.Checkbox(label="Recommended prompt", value=True, scale=1)
160
 
161
  with gr.Accordion("Translation Settings", open=False):
162
- chatbot = gr.Chatbot(likeable=False, render_markdown=False, visible=False) # component for auto-translation
163
  chat_model = gr.Dropdown(choices=get_dolphin_models(), value=get_dolphin_models()[0][1], allow_custom_value=True, label="Model")
164
  chat_model_info = gr.Markdown(value=get_dolphin_model_info(get_dolphin_models()[0][1]), label="Model info")
165
  chat_format = gr.Dropdown(choices=get_llm_formats(), value=get_dolphin_model_format(get_dolphin_models()[0][1]), label="Message format")
 
159
  recom_prompt = gr.Checkbox(label="Recommended prompt", value=True, scale=1)
160
 
161
  with gr.Accordion("Translation Settings", open=False):
162
+ chatbot = gr.Chatbot(render_markdown=False, visible=False) # component for auto-translation
163
  chat_model = gr.Dropdown(choices=get_dolphin_models(), value=get_dolphin_models()[0][1], allow_custom_value=True, label="Model")
164
  chat_model_info = gr.Markdown(value=get_dolphin_model_info(get_dolphin_models()[0][1]), label="Model info")
165
  chat_format = gr.Dropdown(choices=get_llm_formats(), value=get_dolphin_model_format(get_dolphin_models()[0][1]), label="Message format")