imSleepy commited on
Commit
2a3c721
1 Parent(s): 61b36f5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from chatbot import process_query # Import the function from chatbot.py
3
+
4
+ st.title("Kivy Chatbot Backend")
5
+
6
+ user_input = st.text_input("Ask a question:")
7
+ if st.button("Get Response"):
8
+ if user_input:
9
+ response = process_query(user_input)
10
+ st.write(f"Response: {response}")