NotFungibleIO commited on
Commit
c02bc32
1 Parent(s): 26bf400

Update app.py

Browse files

Corrected some grammar in the prompt texts.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,10 +23,10 @@ def chat(message):
23
  if message.startswith('http'):
24
  table = pd.read_csv(message)
25
  table = table.astype(str)
26
- response = 'thank you to give me a dataset... now you can ask questions about it'
27
 
28
  elif table.empty:
29
- response = 'Hi! You still have not given me the url of a dataset in csv format. Send a url of a csv file and then ask as many questions as you want about it. If you want to talk about another dataset, just send a new link.'
30
 
31
  else:
32
  response = tqa(table=table, query=message)["answer"]
 
23
  if message.startswith('http'):
24
  table = pd.read_csv(message)
25
  table = table.astype(str)
26
+ response = 'thank you for the dataset... now you can ask questions about it'
27
 
28
  elif table.empty:
29
+ response = 'Hi! Please send a url of a dataset in csv format. Then ask as many questions as you want about it. If you want to talk about another dataset, just send a new link.'
30
 
31
  else:
32
  response = tqa(table=table, query=message)["answer"]