Spaces:
Sleeping
Sleeping
Commit
·
433ad98
1
Parent(s):
cb9b900
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
# Create two text input boxes
|
3 |
+
text_input_db_id= st.text_input("DB ID")
|
4 |
+
text_input_question = st.text_input("User Query")
|
5 |
+
|
6 |
+
make_inference(your_db_id_here, your_db_query_here)
|
7 |
+
|
8 |
+
# Display the text input boxes
|
9 |
+
|
10 |
+
if st.button('Submit'):
|
11 |
+
st.write(your_db_id_here+your_db_query_here)
|