Skip to content

Commit

Permalink
fix local variable 'plot_output' referenced before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Jun 5, 2024
1 parent f15ccc9 commit e8cfe9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def optimizer(
except:
print("Failed to find optimal retention")
optimizer.optimal_retention = 0.9
plot_output = None
suggested_retention_markdown = (
f"""# Suggested Retention: `{optimizer.optimal_retention:.2f}`"""
)
Expand Down

0 comments on commit e8cfe9b

Please sign in to comment.