sayedM commited on
Commit
cff72ac
1 Parent(s): 690b565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -35,6 +35,8 @@ def get_results(image):
35
 
36
  # Parse the JSON response
37
  data = response.json()
 
 
38
 
39
  # Access the values
40
  firstName = data['firstName']
 
35
 
36
  # Parse the JSON response
37
  data = response.json()
38
+ data = json.loads(data)
39
+
40
 
41
  # Access the values
42
  firstName = data['firstName']