heysho commited on
Commit
ca9f584
1 Parent(s): 609f9db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,10 +74,10 @@ def main():
74
  </style>""",unsafe_allow_html=True,)
75
  chain = init_chain()
76
  if chain:
77
- sender = st.selectbox("Sender",("Co-worker", "Boss", "Client", "Friend"),key="sender")
78
  subject = st.text_input("Email Subject (e.g., About scheduling a meeting)", key="subject")
79
  message = st.text_area("Content of the recipient's email: (e.g., I would like to adjust the time for tomorrow's meeting, are you available in the afternoon?)", key="message")
80
- reply = st.text_input("What you want to say: (e.g., I am available after 2 PM.)", key="reply")
81
  if st.button("Generate the Reply"):
82
  result = chain.stream({"sender": sender, "subject": subject, "message": message, "reply": reply})
83
  st.write(result)
 
74
  </style>""",unsafe_allow_html=True,)
75
  chain = init_chain()
76
  if chain:
77
+ sender = st.selectbox("Sender",("Co-worker", "Boss", "Client","Vendor", "Friend"),key="sender")
78
  subject = st.text_input("Email Subject (e.g., About scheduling a meeting)", key="subject")
79
  message = st.text_area("Content of the recipient's email: (e.g., I would like to adjust the time for tomorrow's meeting, are you available in the afternoon?)", key="message")
80
+ reply = st.text_area("What you want to say: (e.g., I am available after 2 PM.)", key="reply")
81
  if st.button("Generate the Reply"):
82
  result = chain.stream({"sender": sender, "subject": subject, "message": message, "reply": reply})
83
  st.write(result)