Spaces:
Runtime error
Runtime error
| 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) | |