acecalisto3 commited on
Commit
3a3acb8
·
verified ·
1 Parent(s): 56c4359

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -12,7 +12,6 @@ import atexit
12
  import subprocess
13
  from urllib.parse import urlparse, quote
14
  import webbrowser
15
- import spaces
16
 
17
  # Constants
18
  INPUT_DIRECTORY = 'input'
@@ -122,6 +121,7 @@ class GitHubBot:
122
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
123
  resolution_file = f"{RESOLUTIONS_DIRECTORY}/resolution_{issue_number}_{timestamp}.md"
124
 
 
125
  with open(resolution_file, "w") as f:
126
  f.write(f"# Resolution for Issue #{issue_number}\n\n{resolution}")
127
 
@@ -235,7 +235,7 @@ custom_html = """
235
  }
236
  .card {
237
  border-radius: 1.5rem;
238
- box-shadow: 0 15px 25px rgba (0, 0, 0, 0.2);
239
  margin-bottom: 20px;
240
  }
241
  .input, .select, .textarea {
@@ -337,10 +337,10 @@ custom_html = """
337
  </div>
338
  </div>
339
  <script>
340
- const githubTokenInput = document.getElementById('github-token');
341
  const repoUrlInput = document.getElementById('repo-url');
342
- const fetchIssuesButton = document.getElementById('fetch-issues');
343
- const issueDropdown = document.getElementById('issue-dropdown');
344
  const resolutionTextarea = document.getElementById('resolution-textarea');
345
  const forkedRepoUrlInput = document.getElementById('forked-repo-url');
346
  const resolveIssueButton = document.getElementById('resolve-issue');
 
12
  import subprocess
13
  from urllib.parse import urlparse, quote
14
  import webbrowser
 
15
 
16
  # Constants
17
  INPUT_DIRECTORY = 'input'
 
121
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
122
  resolution_file = f"{RESOLUTIONS_DIRECTORY}/resolution_{issue_number}_{timestamp}.md"
123
 
124
+ ```python
125
  with open(resolution_file, "w") as f:
126
  f.write(f"# Resolution for Issue #{issue_number}\n\n{resolution}")
127
 
 
235
  }
236
  .card {
237
  border-radius: 1.5rem;
238
+ box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
239
  margin-bottom: 20px;
240
  }
241
  .input, .select, .textarea {
 
337
  </div>
338
  </div>
339
  <script>
340
+ const githubTokenInput = document.getElementById(' github-token');
341
  const repoUrlInput = document.getElementById('repo-url');
342
+ const fetchIssuesButton = document.getElementById('fetch-issues');
343
+ const issueDropdown = document.getElementById('issue-dropdown');
344
  const resolutionTextarea = document.getElementById('resolution-textarea');
345
  const forkedRepoUrlInput = document.getElementById('forked-repo-url');
346
  const resolveIssueButton = document.getElementById('resolve-issue');