acecalisto3 commited on
Commit
6f18e16
·
verified ·
1 Parent(s): 5f7bc6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -366,8 +366,8 @@ class IssueManager:
366
  logger.error("Repository URL and Hugging Face Token are required.")
367
  # Return empty plot of the correct type for analytics
368
  empty_fig = go.Figure()
369
- empty_fig.update_layout(title="Issue Severity Distribution", xaxis={{"visible": False}, yaxis={{"visible": False},
370
- annotations=[{{"text": "Scan needed.", "xref": "paper", "yref": "paper", "showarrow": False}],
371
  plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
372
  return [], empty_fig, "Error: Repository URL and Hugging Face Token are required.", empty_fig
373
 
 
366
  logger.error("Repository URL and Hugging Face Token are required.")
367
  # Return empty plot of the correct type for analytics
368
  empty_fig = go.Figure()
369
+ empty_fig.update_layout(title="Issue Severity Distribution", xaxis={{"visible": False}}, yaxis={{"visible": False}}),
370
+ annotations=[{{"text": "Scan needed.", "xref": "paper", "yref": "paper", "showarrow": False}}],
371
  plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
372
  return [], empty_fig, "Error: Repository URL and Hugging Face Token are required.", empty_fig
373