JarrettYe commited on
Commit
e8cfe9b
·
verified ·
1 Parent(s): f15ccc9

fix local variable 'plot_output' referenced before assignment

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -93,6 +93,7 @@ def optimizer(
93
  except:
94
  print("Failed to find optimal retention")
95
  optimizer.optimal_retention = 0.9
 
96
  suggested_retention_markdown = (
97
  f"""# Suggested Retention: `{optimizer.optimal_retention:.2f}`"""
98
  )
 
93
  except:
94
  print("Failed to find optimal retention")
95
  optimizer.optimal_retention = 0.9
96
+ plot_output = None
97
  suggested_retention_markdown = (
98
  f"""# Suggested Retention: `{optimizer.optimal_retention:.2f}`"""
99
  )