Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -214,9 +214,9 @@ with gr.Blocks(css=".chatbox {height: 400px; overflow-y: auto; border: 1px solid
|
|
| 214 |
|
| 215 |
auth_button.click(authorize_and_proceed, inputs=[api_user_input, api_key_input], outputs=[auth_view, chat_view, chatbot_output, history_state])
|
| 216 |
save_instructions_btn.click(save_custom_instructions, inputs=[api_key_input, system_instructions_input], outputs=auth_status)
|
|
|
|
| 217 |
|
| 218 |
|
| 219 |
if __name__ == "__main__":
|
| 220 |
demo.queue = False
|
| 221 |
-
demo.load(lambda: None, [], None)
|
| 222 |
demo.launch(js="document.getElementById('chatbox').scrollTop = document.getElementById('chatbox').scrollHeight;")
|
|
|
|
| 214 |
|
| 215 |
auth_button.click(authorize_and_proceed, inputs=[api_user_input, api_key_input], outputs=[auth_view, chat_view, chatbot_output, history_state])
|
| 216 |
save_instructions_btn.click(save_custom_instructions, inputs=[api_key_input, system_instructions_input], outputs=auth_status)
|
| 217 |
+
demo.load(lambda: None, [], None)
|
| 218 |
|
| 219 |
|
| 220 |
if __name__ == "__main__":
|
| 221 |
demo.queue = False
|
|
|
|
| 222 |
demo.launch(js="document.getElementById('chatbox').scrollTop = document.getElementById('chatbox').scrollHeight;")
|