ankit75100 commited on
Commit
ab9c5fa
1 Parent(s): 4ee6a9a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from Text2sql import process_input # Import your code file and function
3
+
4
+ # Title
5
+ st.title("SQL COPILOT")
6
+
7
+ # Text Input
8
+ input_text = st.text_input("Enter something...💭")
9
+
10
+ # Check if input is provided
11
+ if input_text:
12
+ # Process input and get output using your code
13
+ output_text = process_input(input_text)
14
+
15
+ # Display the output
16
+ st.write("Output:")
17
+ st.write(output_text)