Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ def extract_repo_content(url):
|
|
78 |
|
79 |
return extracted_content
|
80 |
|
81 |
-
def format_output(extracted_content,
|
82 |
-
formatted_output = f"# Repository URL: {
|
83 |
for file_data in extracted_content:
|
84 |
if isinstance(file_data, dict) and 'header' in file_data:
|
85 |
formatted_output += f"### File: {file_data['header']['name']}\n"
|
|
|
78 |
|
79 |
return extracted_content
|
80 |
|
81 |
+
def format_output(extracted_content, url):
|
82 |
+
formatted_output = f"# Repository URL: {url}\n\n"
|
83 |
for file_data in extracted_content:
|
84 |
if isinstance(file_data, dict) and 'header' in file_data:
|
85 |
formatted_output += f"### File: {file_data['header']['name']}\n"
|