Spaces:
Runtime error
Runtime error
Commit
·
4bce31d
1
Parent(s):
2c9a0a6
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 e in objects:
|
32 |
if i == "Sense":
|
33 |
response_data = json.loads(json.dumps(sense))
|
34 |
labels = response_data['labels']
|