log table fix
This commit is contained in:
@@ -104,15 +104,15 @@ if user_mail in user_list:
|
||||
'config_interface/'+str(uploaded_file.name))
|
||||
file_names.append(str(uploaded_file.name))
|
||||
|
||||
try:
|
||||
save_to_sf('load_request_and_contract_submissions', "request_submission_file_name", file_names[0]
|
||||
, "contract_config_file_name", file_names[0])
|
||||
except:
|
||||
st.write("running locally")
|
||||
|
||||
|
||||
add_vertical_space(1)
|
||||
|
||||
try:
|
||||
save_to_sf('load_request_and_contract_submissions', "request_submission_file_name", file_names[0]
|
||||
, "contract_config_file_name", file_names[0])
|
||||
except:
|
||||
st.write("running locally")
|
||||
|
||||
# @st.cache_data
|
||||
# def convert_df(df):
|
||||
# return df.to_csv(index=False).encode('utf-8')
|
||||
|
||||
@@ -60,8 +60,8 @@ def save_to_sf(dag_name, config_1, value_1, config_2, value_2):
|
||||
# conf = "{\"" + "training_results_file_name" + "\":\"" + {training_results_file} + "\", \"" + "attempt_logs_file_name" + "\":\"" + {attempt_logs_file} + "\"}".format(training_results_file=training_results_file, attempt_logs_file=attempt_logs_file)
|
||||
|
||||
conf = f"""{{
|
||||
config_1: "{value_1}",
|
||||
config_2: "{value_2}"
|
||||
{config_1}: "{value_1}",
|
||||
{config_2}: "{value_2}"
|
||||
}}"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user