James MacQuillan
commited on
Commit
·
ecc89ed
1
Parent(s):
b19e41e
push
Browse files
app.py
CHANGED
@@ -341,10 +341,11 @@ def chat(user_input,history):
|
|
341 |
config = generate_quickchart_config(user_input, summary)
|
342 |
if config:
|
343 |
generate_chart(config, filename=name_of_file)
|
|
|
|
|
344 |
else:
|
345 |
print("No chart was generated.")
|
346 |
-
|
347 |
-
chart_url = upload_to_catbox(f'charts/{image_path}')
|
348 |
|
349 |
for value in arrow_animation:
|
350 |
|
|
|
341 |
config = generate_quickchart_config(user_input, summary)
|
342 |
if config:
|
343 |
generate_chart(config, filename=name_of_file)
|
344 |
+
image_path = f'{name_of_file}'
|
345 |
+
chart_url = upload_to_catbox(f'charts/{image_path}')
|
346 |
else:
|
347 |
print("No chart was generated.")
|
348 |
+
pass
|
|
|
349 |
|
350 |
for value in arrow_animation:
|
351 |
|