Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
10 |
# Define the authentication function
|
11 |
def check_auth(username, password):
|
12 |
# Get the credentials from the environment variable
|
13 |
-
valid_credentials_str = os.getenv(
|
14 |
|
15 |
# Parse the string into a list of tuples
|
16 |
valid_credentials = json.loads(valid_credentials_str)
|
|
|
10 |
# Define the authentication function
|
11 |
def check_auth(username, password):
|
12 |
# Get the credentials from the environment variable
|
13 |
+
valid_credentials_str = os.getenv("VALID_CREDENTIALS")
|
14 |
|
15 |
# Parse the string into a list of tuples
|
16 |
valid_credentials = json.loads(valid_credentials_str)
|