Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,6 @@ def gradio_interface():
|
|
| 114 |
import gradio as gr
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
| 117 |
-
demo.launch(auth=lookup_users, max_threads=50)
|
| 118 |
|
| 119 |
username = os.getenv("nombre")
|
| 120 |
|
|
@@ -152,7 +151,8 @@ def gradio_interface():
|
|
| 152 |
return "", chat_history
|
| 153 |
|
| 154 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 155 |
-
|
|
|
|
| 156 |
|
| 157 |
|
| 158 |
|
|
|
|
| 114 |
import gradio as gr
|
| 115 |
|
| 116 |
with gr.Blocks() as demo:
|
|
|
|
| 117 |
|
| 118 |
username = os.getenv("nombre")
|
| 119 |
|
|
|
|
| 151 |
return "", chat_history
|
| 152 |
|
| 153 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 154 |
+
demo.queue.launch(auth=lookup_users, max_threads=50)
|
| 155 |
+
|
| 156 |
|
| 157 |
|
| 158 |
|