themissingCRAM commited on
Commit
4a206af
·
1 Parent(s): 193e8c6

descriptions

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +3 -1
README.md CHANGED
@@ -10,4 +10,4 @@ pinned: false
10
  short_description: self correcting text to sql agent based on smolagents exampl
11
  ---
12
 
13
- self correcting text to sql agent based on https://huggingface.co/docs/smolagents/v1.12.0/examples/text_to_sql smolagents example
 
10
  short_description: self correcting text to sql agent based on smolagents exampl
11
  ---
12
 
13
+ a self correcting text to sql ai agent using smolagents, gradio, HF Spaces, sqlalchemy improved from a smolagents guide. https://huggingface.co/docs/smolagents/v1.12.0/examples/text_to_sql smolagents example
app.py CHANGED
@@ -152,7 +152,9 @@ if __name__ == "__main__":
152
  verbosity_level=10,
153
  )
154
  with gr.Blocks() as b:
155
- gr.Markdown("# Demo text to sql on paying customers' receipts")
 
 
156
  chatbot = gr.Chatbot(type="messages", height=2000)
157
  message_box = gr.Textbox(lines=1, label="chat message (with default sample question)", value="What is the average each customer paid?")
158
  with gr.Row():
 
152
  verbosity_level=10,
153
  )
154
  with gr.Blocks() as b:
155
+ gr.Markdown('''# Demo text to sql on paying customers' receipts
156
+ a self correcting text to sql ai agent using smolagents, gradio, HF Spaces, sqlalchemy improved from a smolagents guide
157
+ ''')
158
  chatbot = gr.Chatbot(type="messages", height=2000)
159
  message_box = gr.Textbox(lines=1, label="chat message (with default sample question)", value="What is the average each customer paid?")
160
  with gr.Row():