CannaTech commited on
Commit
99438aa
·
1 Parent(s): 78f708d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "CannaTech/Flagged")
15
  # Define the authentication function
16
  def check_auth(username, password):
17
  # Get the credentials from the environment variable
18
- valid_credentials_str = os.getenv("")
19
 
20
  # Parse the string into a list of tuples
21
  valid_credentials = json.loads(valid_credentials_str)
 
15
  # Define the authentication function
16
  def check_auth(username, password):
17
  # Get the credentials from the environment variable
18
+ valid_credentials_str = os.getenv("VALID_CREDENTIALS")
19
 
20
  # Parse the string into a list of tuples
21
  valid_credentials = json.loads(valid_credentials_str)