Removing hard-coded vars.
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import os
|
|
5 |
local_storage_file = "local_storage.txt"
|
6 |
|
7 |
# Specify the secret value
|
8 |
-
save_secret_value = "
|
9 |
-
secret_value = "
|
10 |
|
11 |
# Function to retrieve data from query parameters in the URL
|
12 |
def get_query_params(request: gr.Request):
|
|
|
5 |
local_storage_file = "local_storage.txt"
|
6 |
|
7 |
# Specify the secret value
|
8 |
+
save_secret_value = os.getenv("save_secret_value")
|
9 |
+
secret_value = os.getenv("secret_value")
|
10 |
|
11 |
# Function to retrieve data from query parameters in the URL
|
12 |
def get_query_params(request: gr.Request):
|