Spaces:
Runtime error
Runtime error
File size: 412 Bytes
57dcfd8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
import streamlit as st
from Text2sql import process_input # Import your code file and function
# Title
st.title("SQL COPILOT")
# Text Input
input_text = st.text_input("Enter something...💭")
# Check if input is provided
if input_text:
# Process input and get output using your code
output_text = process_input(input_text)
# Display the output
st.write("Output:")
st.write(output_text)
|