Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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']
|