Spaces:
Runtime error
Runtime error
Commit
·
4ee6a9a
1
Parent(s):
57dcfd8
Delete app.py
Browse files
app.py
DELETED
@@ -1,17 +0,0 @@
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|