Spaces:
Runtime error
Runtime error
Commit
·
0f843c9
1
Parent(s):
4bce31d
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def grammar_sense(sentence):
|
|
28 |
})
|
29 |
objects = ["Sense", "Grammar"]
|
30 |
ans = []
|
31 |
-
for
|
32 |
if i == "Sense":
|
33 |
response_data = json.loads(json.dumps(sense))
|
34 |
labels = response_data['labels']
|
|
|
28 |
})
|
29 |
objects = ["Sense", "Grammar"]
|
30 |
ans = []
|
31 |
+
for i in objects:
|
32 |
if i == "Sense":
|
33 |
response_data = json.loads(json.dumps(sense))
|
34 |
labels = response_data['labels']
|