Advanced Analytics
Run SQL queries, perform regressions, and analyze results with ease
Rich Visualizations
Create scatter plots, line charts, pie charts, and more
Automated Insights
Get instant insights and recommendations for your data
from utils import TEMP_DIR, message_dict import gradio as gr import templates.data_file as data_file, templates.sql_db as sql_db import os from getpass import getpass from dotenv import load_dotenv load_dotenv() def delete_db(req: gr.Request): import shutil dir_path = TEMP_DIR / str(req.session_hash) if os.path.exists(dir_path): shutil.rmtree(dir_path) message_dict[req.session_hash] = {} if "OPENAI_API_KEY" not in os.environ: os.environ["OPENAI_API_KEY"] = getpass("Enter OpenAI API key:") css= ".file_marker .large{min-height:50px !important;} .padding{padding:0;} .description_component{overflow:visible !important;}" head = """
A powerful tool for data analysis, visualizations, and insights
Run SQL queries, perform regressions, and analyze results with ease
Create scatter plots, line charts, pie charts, and more
Get instant insights and recommendations for your data