Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,8 @@ class GitHubBot:
|
|
115 |
"""Main GitHub bot implementation"""
|
116 |
|
117 |
def __init__(self):
|
118 |
-
self.github_api = None
|
|
|
119 |
"""Initialize GitHub API with token"""
|
120 |
self.github_api = GitHubAPI(token)
|
121 |
|
|
|
115 |
"""Main GitHub bot implementation"""
|
116 |
|
117 |
def __init__(self):
|
118 |
+
self.github_api = None
|
119 |
+
def initialize_api(self, token: str):
|
120 |
"""Initialize GitHub API with token"""
|
121 |
self.github_api = GitHubAPI(token)
|
122 |
|