Spaces:
Running
Running
Add back login
Browse files
app.py
CHANGED
@@ -128,6 +128,4 @@ with gr.Blocks(theme=theme) as app:
|
|
128 |
retry_button.click(retry_completion, inputs=[model, personality, message_history, chatlog_history, temperature, maximum_length, top_p, frequency_penalty, presence_penalty], outputs=[user_message, message_history, chatlog_history, chatbot, token_count])
|
129 |
reset_button.click(reset_chat, inputs=[], outputs=[user_message, message_history, chatlog_history, chatbot, token_count])
|
130 |
|
131 |
-
|
132 |
-
|
133 |
-
app.launch()
|
|
|
128 |
retry_button.click(retry_completion, inputs=[model, personality, message_history, chatlog_history, temperature, maximum_length, top_p, frequency_penalty, presence_penalty], outputs=[user_message, message_history, chatlog_history, chatbot, token_count])
|
129 |
reset_button.click(reset_chat, inputs=[], outputs=[user_message, message_history, chatlog_history, chatbot, token_count])
|
130 |
|
131 |
+
app.launch(auth=("admin", ADMIN_PASSWORD), enable_queue=True)
|
|
|
|