hadadrjt commited on
Commit
3d1964a
·
1 Parent(s): cf13d53

ai: Remove unnecessary flags.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,7 +108,7 @@ with gr.Blocks(fill_height=True, fill_width=True, title=AI_TYPES["AI_TYPE_4"], h
108
  user_history = gr.State([])
109
  selected_model = gr.State(MODEL_CHOICES[0])
110
 
111
- chatbot = gr.Chatbot(label=AI_TYPES["AI_TYPE_1"], height=600, show_copy_button=True, show_share_button=False, scale=1, elem_id=AI_TYPES["AI_TYPE_2"])
112
  model_dropdown = gr.Dropdown(label=AI_TYPES["AI_TYPE_3"], show_label=False, choices=MODEL_CHOICES, value=MODEL_CHOICES[0], interactive=True)
113
  msg = gr.Textbox(label=RESPONSES["RESPONSE_4"], show_label=False, scale=0, placeholder=RESPONSES["RESPONSE_5"])
114
 
@@ -121,4 +121,4 @@ with gr.Blocks(fill_height=True, fill_width=True, title=AI_TYPES["AI_TYPE_4"], h
121
  msg.change(fn=check_send_button_enabled, inputs=[msg], outputs=[send_btn])
122
  stop_btn.click(fn=stop_response, outputs=[send_btn, stop_btn])
123
 
124
- demo.launch(share=True, show_api=False, favicon_path=AI_TYPES["AI_TYPE_5"])
 
108
  user_history = gr.State([])
109
  selected_model = gr.State(MODEL_CHOICES[0])
110
 
111
+ chatbot = gr.Chatbot(label=AI_TYPES["AI_TYPE_1"], show_copy_button=True, show_share_button=False, scale=1, elem_id=AI_TYPES["AI_TYPE_2"])
112
  model_dropdown = gr.Dropdown(label=AI_TYPES["AI_TYPE_3"], show_label=False, choices=MODEL_CHOICES, value=MODEL_CHOICES[0], interactive=True)
113
  msg = gr.Textbox(label=RESPONSES["RESPONSE_4"], show_label=False, scale=0, placeholder=RESPONSES["RESPONSE_5"])
114
 
 
121
  msg.change(fn=check_send_button_enabled, inputs=[msg], outputs=[send_btn])
122
  stop_btn.click(fn=stop_response, outputs=[send_btn, stop_btn])
123
 
124
+ demo.launch(show_api=False)