Shrikrishna commited on
Commit
aaa1443
1 Parent(s): 4c8be87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ Looking forward
57
  Shirley Lou
58
  """
59
 
60
- email = st.text_input("email",test_email)
61
 
62
  def extract_data(email,function_descriptions):
63
  prompt = f"Please extract key information from this email: {email} "
@@ -73,7 +73,7 @@ def extract_data(email,function_descriptions):
73
  print(response)
74
  return response
75
 
76
- if st.button(Extract):
77
  data = extract_data(email,function_descriptions)
78
  st.json(data)
79
 
 
57
  Shirley Lou
58
  """
59
 
60
+ email = st.text_input("Email:",test_email)
61
 
62
  def extract_data(email,function_descriptions):
63
  prompt = f"Please extract key information from this email: {email} "
 
73
  print(response)
74
  return response
75
 
76
+ if st.button("Extract Data"):
77
  data = extract_data(email,function_descriptions)
78
  st.json(data)
79