Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -403,7 +403,7 @@ class IssueManager:
|
|
403 |
if not match:
|
404 |
logger.error(f"Invalid GitHub URL format: {{self.repo_url}}")
|
405 |
empty_fig = go.Figure()
|
406 |
-
empty_fig.update_layout(title="Issue Severity Distribution", annotations=[{{"text": "Invalid URL.", "xref": "paper", "yref": "paper", "showarrow": False}], plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
|
407 |
return [], empty_fig, "Error: Invalid GitHub URL format. Use https://github.com/owner/repo", empty_fig
|
408 |
self.repo_owner, self.repo_name = match.groups()
|
409 |
self.repo_local_path = WORKSPACE / f"{{self.repo_owner}}_{{self.repo_name}}"
|
|
|
403 |
if not match:
|
404 |
logger.error(f"Invalid GitHub URL format: {{self.repo_url}}")
|
405 |
empty_fig = go.Figure()
|
406 |
+
empty_fig.update_layout(title="Issue Severity Distribution", annotations=[{{"text": "Invalid URL.", "xref": "paper", "yref": "paper", "showarrow": False}}], plot_bgcolor='rgba(0,0,0,0)', paper_bgcolor='rgba(0,0,0,0)')
|
407 |
return [], empty_fig, "Error: Invalid GitHub URL format. Use https://github.com/owner/repo", empty_fig
|
408 |
self.repo_owner, self.repo_name = match.groups()
|
409 |
self.repo_local_path = WORKSPACE / f"{{self.repo_owner}}_{{self.repo_name}}"
|