MohanadAfiffy commited on
Commit
f0717f1
·
1 Parent(s): 1f33103

Update pages/1_Executives.py

Browse files
Files changed (1) hide show
  1. pages/1_Executives.py +1 -3
pages/1_Executives.py CHANGED
@@ -53,8 +53,6 @@ def main():
53
  st.error("An error occurred while processing the file")
54
 
55
  with st.form(key='my_form'):
56
- # Fetch the filtered data
57
- prompt_notes = st.text_input("If applicable please mention the network name")
58
 
59
  # List of predefined email addresses
60
  email_options = [
@@ -89,7 +87,7 @@ def main():
89
  csv = df.to_csv(index=False)
90
 
91
  # Construct the data to send
92
- data_to_send = {"prompt_notes": prompt_notes, "dataframe": csv, "email_receiver": email_receiver}
93
 
94
  # Sending the POST request to FastAPI
95
  response = requests.post(BackendService, json=data_to_send)
 
53
  st.error("An error occurred while processing the file")
54
 
55
  with st.form(key='my_form'):
 
 
56
 
57
  # List of predefined email addresses
58
  email_options = [
 
87
  csv = df.to_csv(index=False)
88
 
89
  # Construct the data to send
90
+ data_to_send = {"dataframe": csv, "email_receiver": email_receiver}
91
 
92
  # Sending the POST request to FastAPI
93
  response = requests.post(BackendService, json=data_to_send)