devfire commited on
Commit
2df9fd8
·
verified ·
1 Parent(s): 8b29d63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ def generate_chatbot_response(user_message):
43
  response = chat_completion.choices[0].message.content
44
  return response
45
 
46
- # User input for conversation
47
- user_input = st.text_input("Ask me a subject-related question:")
48
 
49
  # Handle user input and display conversation
50
  if user_input:
 
43
  response = chat_completion.choices[0].message.content
44
  return response
45
 
46
+ # User input for conversation (now placed at the bottom)
47
+ user_input = st.chat_input("Ask me a subject-related question:")
48
 
49
  # Handle user input and display conversation
50
  if user_input: