Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
import time
|
5 |
|
6 |
# Set up password
|
|
|
7 |
password = os.getenv('password')
|
8 |
|
9 |
# Set up OpenAI client
|
@@ -76,4 +77,4 @@ with gr.Blocks(css=custom_css) as demo:
|
|
76 |
bot, chatbot, chatbot
|
77 |
)
|
78 |
|
79 |
-
demo.launch(auth=(password))
|
|
|
4 |
import time
|
5 |
|
6 |
# Set up password
|
7 |
+
username = "username"
|
8 |
password = os.getenv('password')
|
9 |
|
10 |
# Set up OpenAI client
|
|
|
77 |
bot, chatbot, chatbot
|
78 |
)
|
79 |
|
80 |
+
demo.launch(auth=(username, password))
|