text-to-sql-demo / README.md
wram1708's picture
Add sample query
9159ef8 verified
|
Raw
History Blame Contribute Delete
782 Bytes

A newer version of the Streamlit SDK is available: 1.60.0

Upgrade
metadata
title: Text To Sql Demo
emoji: 🐨
colorFrom: red
colorTo: yellow
sdk: streamlit
sdk_version: 1.39.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: Takes text, converts it into sql query, return result

This is a very small database of just 5 entries with columns NAME, SECTION, CLASS AND MARKS. This was done just as a demo the process of running the model, creating streamlit app and deploying it on hugginface.

Sample Query: tell me class category and provide class as if marks greater than 90 'first class', marks less than equal to 90 and greater than 80 'second class' else 'third class', only provide name and class, order according to marks

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference