Soumik555 commited on
Commit
18e298f
·
1 Parent(s): 3995c64

blank image issue on multiple req

Browse files
Files changed (1) hide show
  1. controller.py +4 -2
controller.py CHANGED
@@ -173,7 +173,8 @@ def groq_chat(csv_url: str, question: str):
173
  'save_charts': True, # Enable chart saving
174
  'open_charts': False,
175
  'save_charts_path': os.path.dirname(chart_path), # Directory to save
176
- 'custom_chart_filename': chart_filename # Unique filename
 
177
  }
178
  )
179
 
@@ -364,7 +365,8 @@ def groq_chart(csv_url: str, question: str):
364
  'save_charts': True, # Enable chart saving
365
  'open_charts': False,
366
  'save_charts_path': os.path.dirname(chart_path), # Directory to save
367
- 'custom_chart_filename': chart_filename # Unique filename
 
368
  }
369
  )
370
 
 
173
  'save_charts': True, # Enable chart saving
174
  'open_charts': False,
175
  'save_charts_path': os.path.dirname(chart_path), # Directory to save
176
+ 'custom_chart_filename': chart_filename, # Unique filename
177
+ 'enable_cache': False
178
  }
179
  )
180
 
 
365
  'save_charts': True, # Enable chart saving
366
  'open_charts': False,
367
  'save_charts_path': os.path.dirname(chart_path), # Directory to save
368
+ 'custom_chart_filename': chart_filename, # Unique filename
369
+ 'enable_cache': False
370
  }
371
  )
372