themissingCRAM commited on
Commit
f4b8a3e
·
1 Parent(s): 436e907
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ import spaces
28
  from dotenv import load_dotenv
29
 
30
  load_dotenv()
31
-
32
  # What is the average each customer paid?
33
  # Create a sql statement and invoke your sql_engine tool
34
 
@@ -153,7 +153,7 @@ if __name__ == "__main__":
153
  )
154
  with gr.Blocks() as b:
155
  chatbot = gr.Chatbot(type="messages", height=1000)
156
- textbox = gr.Textbox(lines=1, label="chat message")
157
  enter_button = gr.Button("enter")
158
  stop_generating_button = gr.Button("stop generating")
159
  clear_messages_button = gr.ClearButton([textbox,chatbot])
 
28
  from dotenv import load_dotenv
29
 
30
  load_dotenv()
31
+ #sample questions
32
  # What is the average each customer paid?
33
  # Create a sql statement and invoke your sql_engine tool
34
 
 
153
  )
154
  with gr.Blocks() as b:
155
  chatbot = gr.Chatbot(type="messages", height=1000)
156
+ textbox = gr.Textbox(lines=1, label="chat message",value="What is the average each customer paid?")
157
  enter_button = gr.Button("enter")
158
  stop_generating_button = gr.Button("stop generating")
159
  clear_messages_button = gr.ClearButton([textbox,chatbot])