seanpedrickcase
commited on
Commit
•
7f5a542
1
Parent(s):
05c20d6
Removed default custom header values so as not to cause errors
Browse files
tools/helper_functions.py
CHANGED
@@ -213,11 +213,11 @@ def wipe_logs(feedback_logs_loc, usage_logs_loc):
|
|
213 |
print("Could not remove usage logs file", e)
|
214 |
|
215 |
# Retrieving or setting CUSTOM_HEADER
|
216 |
-
CUSTOM_HEADER = get_or_create_env_var('CUSTOM_HEADER', '
|
217 |
print(f'CUSTOM_HEADER found')
|
218 |
|
219 |
# Retrieving or setting CUSTOM_HEADER_VALUE
|
220 |
-
CUSTOM_HEADER_VALUE = get_or_create_env_var('CUSTOM_HEADER_VALUE', '
|
221 |
print(f'CUSTOM_HEADER_VALUE found')
|
222 |
|
223 |
async def get_connection_params(request: gr.Request):
|
|
|
213 |
print("Could not remove usage logs file", e)
|
214 |
|
215 |
# Retrieving or setting CUSTOM_HEADER
|
216 |
+
CUSTOM_HEADER = get_or_create_env_var('CUSTOM_HEADER', '')
|
217 |
print(f'CUSTOM_HEADER found')
|
218 |
|
219 |
# Retrieving or setting CUSTOM_HEADER_VALUE
|
220 |
+
CUSTOM_HEADER_VALUE = get_or_create_env_var('CUSTOM_HEADER_VALUE', '')
|
221 |
print(f'CUSTOM_HEADER_VALUE found')
|
222 |
|
223 |
async def get_connection_params(request: gr.Request):
|