Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
+
)
|