Wajahat698 commited on
Commit
63bf037
·
verified ·
1 Parent(s): 977aecc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -516,7 +516,10 @@ def plot_trust_driver_bubbles(trust_df, title):
516
  plt.savefig(img_buffer, format="png", bbox_inches="tight", facecolor=fig.get_facecolor())
517
  img_buffer.seek(0)
518
  plt.close(fig)
519
- return Image.open(img_buffer
 
 
 
520
  def analyze_excel_single(file_path):
521
  """
522
  Analyzes a single Excel file containing data and generates plots for Trust, NPS, Loyalty, Consideration, and Satisfaction models.
 
516
  plt.savefig(img_buffer, format="png", bbox_inches="tight", facecolor=fig.get_facecolor())
517
  img_buffer.seek(0)
518
  plt.close(fig)
519
+ return Image.open(img_buffer)
520
+
521
+
522
+
523
  def analyze_excel_single(file_path):
524
  """
525
  Analyzes a single Excel file containing data and generates plots for Trust, NPS, Loyalty, Consideration, and Satisfaction models.