Spaces:
Sleeping
Sleeping
Commit
·
e43e145
1
Parent(s):
77b60b2
re-add username anad password
Browse files
app.py
CHANGED
|
@@ -259,8 +259,8 @@ with gr.Blocks() as demo:
|
|
| 259 |
chatbot=gr.Chatbot(height=300),
|
| 260 |
additional_inputs=knowledge_bases,
|
| 261 |
)
|
| 262 |
-
|
| 263 |
-
demo.launch()
|
| 264 |
|
| 265 |
# Set it back to empty when a session is done
|
| 266 |
# Is there a better way?
|
|
|
|
| 259 |
chatbot=gr.Chatbot(height=300),
|
| 260 |
additional_inputs=knowledge_bases,
|
| 261 |
)
|
| 262 |
+
demo.launch(auth=(os.environ.get("GRADIO_USERNAME"), os.environ.get("GRADIO_PASSWORD")))
|
| 263 |
+
# demo.launch()
|
| 264 |
|
| 265 |
# Set it back to empty when a session is done
|
| 266 |
# Is there a better way?
|