wajid commited on
Commit
76873e5
·
1 Parent(s): 1ddc634

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -182,14 +182,9 @@ async def _file_upload(my_file:
182
 
183
  # some JSON:
184
  x = '{ "success":success, "errorMessage":errorMessage}'
185
-
186
 
187
- # parsing JSON string:
188
- z = json_file#json.loads(x)
189
 
190
- # appending the data
191
- json_file.update(x)
192
-
193
 
194
 
195
  return json_file
 
182
 
183
  # some JSON:
184
  x = '{ "success":success, "errorMessage":errorMessage}'
185
+ json_file["data"] = x
186
 
 
 
187
 
 
 
 
188
 
189
 
190
  return json_file