SamiKoen commited on
Commit
567b08e
·
1 Parent(s): e26bf85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -151,11 +151,6 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
151
  inputs.submit( predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code],) #openai_api_key
152
  b1.click( predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code],) #openai_api_key
153
 
154
- '''inputs.submit(set_visible_false, [], [system_msg])
155
- b1.click(set_visible_false, [], [system_msg])
156
- inputs.submit(set_visible_true, [], [accordion_msg])
157
- b1.click(set_visible_true, [], [accordion_msg])'''
158
-
159
  b1.click(reset_textbox, [], [inputs])
160
  inputs.submit(reset_textbox, [], [inputs])
161
 
 
151
  inputs.submit( predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code],) #openai_api_key
152
  b1.click( predict, [system_msg, inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter, server_status_code],) #openai_api_key
153
 
 
 
 
 
 
154
  b1.click(reset_textbox, [], [inputs])
155
  inputs.submit(reset_textbox, [], [inputs])
156