Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,7 +65,7 @@ def parse_endpoint():
|
|
| 65 |
|
| 66 |
try:
|
| 67 |
if "## File Structure" in text and "### File:" in text:
|
| 68 |
-
format_name, components = "Repo2Markdown",
|
| 69 |
elif re.search(r'^## \[\d+\.\d+\.\d+.*?\].*?$', text, flags=re.MULTILINE):
|
| 70 |
format_name, components = "Changelog", parse_changelog(text)
|
| 71 |
elif text.strip().startswith("#") and re.search(r'^## ', text, flags=re.MULTILINE):
|
|
|
|
| 65 |
|
| 66 |
try:
|
| 67 |
if "## File Structure" in text and "### File:" in text:
|
| 68 |
+
format_name, components = "Repo2Markdown", parse_standard_readme(text)
|
| 69 |
elif re.search(r'^## \[\d+\.\d+\.\d+.*?\].*?$', text, flags=re.MULTILINE):
|
| 70 |
format_name, components = "Changelog", parse_changelog(text)
|
| 71 |
elif text.strip().startswith("#") and re.search(r'^## ', text, flags=re.MULTILINE):
|