Update app.py
Browse files
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.
|
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:
|