Spaces:
Runtime error
Runtime error
Update repo_utils.py
Browse files- repo_utils.py +3 -1
repo_utils.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import os
|
| 2 |
import subprocess
|
| 3 |
-
from file_utils import validate_file_types, get_file_summary, read_file_content
|
|
|
|
|
|
|
| 4 |
|
| 5 |
def validate_url(url):
|
| 6 |
return url.startswith('https://')
|
|
|
|
| 1 |
import os
|
| 2 |
import subprocess
|
| 3 |
+
from file_utils import validate_file_types, get_file_summary, read_file_content, summarize_content
|
| 4 |
+
|
| 5 |
+
SUPPORTED_FILE_TYPES = ["txt", "shell", "python", "markdown", "yaml", "json", "csv", "tsv", "xml", "html", "ini", "jsonl", "ipynb"]
|
| 6 |
|
| 7 |
def validate_url(url):
|
| 8 |
return url.startswith('https://')
|