Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,6 +54,9 @@ def custom_open(*args, **kwargs):
|
|
| 54 |
|
| 55 |
return original_open(*args, **kwargs)
|
| 56 |
|
|
|
|
|
|
|
|
|
|
| 57 |
import json
|
| 58 |
def print_first_json_content(directory):
|
| 59 |
for root, dirs, files in os.walk(directory):
|
|
|
|
| 54 |
|
| 55 |
return original_open(*args, **kwargs)
|
| 56 |
|
| 57 |
+
builtins.open = custom_open
|
| 58 |
+
|
| 59 |
+
|
| 60 |
import json
|
| 61 |
def print_first_json_content(directory):
|
| 62 |
for root, dirs, files in os.walk(directory):
|