mou3az commited on
Commit
06ab2d0
1 Parent(s): bf52482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -258,7 +258,7 @@ def Chart_Generator(history):
258
 
259
  message = history[-1][0]
260
  if '#chart' in message:
261
- message = user_input.split('#chart', 1)[1].strip()
262
  chart_url = f"https://quickchart.io/natural/{message}"
263
  response = requests.get(chart_url)
264
 
 
258
 
259
  message = history[-1][0]
260
  if '#chart' in message:
261
+ message = message.split('#chart', 1)[1].strip()
262
  chart_url = f"https://quickchart.io/natural/{message}"
263
  response = requests.get(chart_url)
264