Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,10 +117,7 @@ def handle_upload(contents, filenames):
|
|
| 117 |
_, content_string = content.split(",")
|
| 118 |
uploaded_files[name] = base64.b64decode(content_string).decode("utf-8")
|
| 119 |
parsed = parse_functions_from_files(uploaded_files)
|
| 120 |
-
|
| 121 |
-
for fn, meta in parsed.items():
|
| 122 |
-
print(f"{fn} → calls: {meta.get('calls', [])}")
|
| 123 |
-
print("== END ==")
|
| 124 |
|
| 125 |
# options = [{"label": fn, "value": fn} for fn in parsed if parsed[fn]["calls"]]
|
| 126 |
options = [{"label": fn, "value": fn} for fn in parsed]
|
|
|
|
| 117 |
_, content_string = content.split(",")
|
| 118 |
uploaded_files[name] = base64.b64decode(content_string).decode("utf-8")
|
| 119 |
parsed = parse_functions_from_files(uploaded_files)
|
| 120 |
+
|
|
|
|
|
|
|
|
|
|
| 121 |
|
| 122 |
# options = [{"label": fn, "value": fn} for fn in parsed if parsed[fn]["calls"]]
|
| 123 |
options = [{"label": fn, "value": fn} for fn in parsed]
|