Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def analyze_github_repo(repo_input, github_token=None):
|
|
36 |
for emoji, message in PROGRESS_STEPS:
|
37 |
progress_html += f"<p>{emoji} {message}</p>"
|
38 |
yield progress_html, ""
|
39 |
-
time.sleep(
|
40 |
|
41 |
try:
|
42 |
owner, repo_name = get_repo_info(repo_input)
|
@@ -47,8 +47,8 @@ def analyze_github_repo(repo_input, github_token=None):
|
|
47 |
|
48 |
client = OpenAI(api_key=openrouter_api_key, base_url="https://openrouter.ai/api/v1")
|
49 |
|
50 |
-
max_issues =
|
51 |
-
max_prs =
|
52 |
|
53 |
with tempfile.TemporaryDirectory() as temp_dir:
|
54 |
repo_path = clone_repo(owner, repo_name, temp_dir)
|
|
|
36 |
for emoji, message in PROGRESS_STEPS:
|
37 |
progress_html += f"<p>{emoji} {message}</p>"
|
38 |
yield progress_html, ""
|
39 |
+
time.sleep(4) # Simulate work being done
|
40 |
|
41 |
try:
|
42 |
owner, repo_name = get_repo_info(repo_input)
|
|
|
47 |
|
48 |
client = OpenAI(api_key=openrouter_api_key, base_url="https://openrouter.ai/api/v1")
|
49 |
|
50 |
+
max_issues = 4
|
51 |
+
max_prs = 4
|
52 |
|
53 |
with tempfile.TemporaryDirectory() as temp_dir:
|
54 |
repo_path = clone_repo(owner, repo_name, temp_dir)
|