diff --git a/.gitignore b/.gitignore index b24d71e..21f92b7 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,8 @@ Thumbs.db *.mov *.wmv +# Data Files +streamlit/history.csv +streamlit/RESULTS/ + + diff --git a/streamlit/history.csv b/streamlit/history.csv deleted file mode 100644 index 2506474..0000000 --- a/streamlit/history.csv +++ /dev/null @@ -1,13 +0,0 @@ -Field Name,# Contracts Tested,Username,Date/Time,Accuracy,Attempt # -Associated Base Contract Effective Date,20,,2024-03-05 20:08:44,,1 -Associated Base Contract Effective Date,10,,2024-03-05 20:09:20,,1 -Associated Base Contract Effective Date,10,,2024-03-05 20:10:33,,1 -Associated Base Contract Effective Date,10,,2024-03-05 20:11:30,0.0,1 -Associated Base Contract Effective Date,10,,2024-03-05 20:17:56,0.0,1 -Associated Base Contract Effective Date,10,,2024-03-05 22:13:25,0.0,1 -Associated Base Contract Effective Date,10,,2024-03-05 22:14:15,0.0,1 -Associated Base Contract Effective Date,10,,2024-03-05 22:16:45,0.0,1 -Associated Base Contract Effective Date,10,,2024-03-05 22:17:35,0.0,1 -Associated Base Contract Effective Date,20,,2024-03-05 22:18:38,0.0,1 -Associated Base Contract Effective Date,20,,2024-03-05 22:21:28,0.0,1 -Contract Auto Renewal (Y/N)?,20,,2024-03-05 22:22:33,0.0,1 diff --git a/streamlit/interface_3.py b/streamlit/interface_3.py index b21ec30..2cb2b06 100644 --- a/streamlit/interface_3.py +++ b/streamlit/interface_3.py @@ -304,7 +304,7 @@ if st.button("Test Configuration"): accuracy = 'NA' history.loc[len(history.index)] = [field, str(contract_count), None, datetime.now().strftime("%Y-%m-%d %H:%M:%S"), accuracy, attempt] - # df.to_csv(field.replace("?","").replace("/","_")+'-'+llm_selected+'.csv', index=False) + df.to_csv("RESULTS\\"+field.replace("?","").replace("/","_")+'-'+llm_selected+'.csv', index=False) history.to_csv('history.csv', index=False) # df_copy = df.set_index(df.columns[0]).copy()