Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,8 +150,8 @@ def parse_json(inp):
|
|
| 150 |
print(lines)
|
| 151 |
out_json=eval(lines)
|
| 152 |
try:
|
| 153 |
-
out1=out_json['filename']
|
| 154 |
-
out2=out_json['filecontent']
|
| 155 |
return out1,out2
|
| 156 |
except Exception as e:
|
| 157 |
print(e)
|
|
|
|
| 150 |
print(lines)
|
| 151 |
out_json=eval(lines)
|
| 152 |
try:
|
| 153 |
+
out1=str(out_json['filename'])
|
| 154 |
+
out2=str(out_json['filecontent'])
|
| 155 |
return out1,out2
|
| 156 |
except Exception as e:
|
| 157 |
print(e)
|