JohnAlexander23 commited on
Commit
0d33f31
·
verified ·
1 Parent(s): 3894c2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -2
app.py CHANGED
@@ -18,7 +18,7 @@ def fetch_response(user_input):
18
  return chat_completion.choices[0].message.content
19
 
20
  # Streamlit app
21
- st.title("Fastest AI Chatbot By DL Titans")
22
  st.write("Ask a question and get a response.")
23
 
24
  # Text input for user's question
@@ -28,4 +28,14 @@ user_input = st.text_input("Enter your question here:")
28
  if st.button("Get Response"):
29
  # Fetch and display response
30
  response = fetch_response(user_input)
31
- st.write("Response:", response)
 
 
 
 
 
 
 
 
 
 
 
18
  return chat_completion.choices[0].message.content
19
 
20
  # Streamlit app
21
+ st.title("Fastest AI Chatbot")
22
  st.write("Ask a question and get a response.")
23
 
24
  # Text input for user's question
 
28
  if st.button("Get Response"):
29
  # Fetch and display response
30
  response = fetch_response(user_input)
31
+ st.write("Response:", response)
32
+
33
+ # Footer
34
+ st.markdown(
35
+ """
36
+ <footer style="color: blue; font-size: small; text-align: right;">
37
+ By DL Titans
38
+ </footer>
39
+ """,
40
+ unsafe_allow_html=True
41
+ )