Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,32 +12,6 @@ def semanticComparativeClassification():
|
|
12 |
response = requests.post(API_URL, headers=headers, json=payload)
|
13 |
return response.json()
|
14 |
|
15 |
-
"""output = query({
|
16 |
-
"inputs": {
|
17 |
-
"wait_for_model" : True,
|
18 |
-
"source_sentence": "Uso de la agenda, crear eventos, borrar eventos, mover eventos",
|
19 |
-
"sentences": [
|
20 |
-
"Como creo un evento del calendario",
|
21 |
-
"He perdido la contrase帽a. Como la recupero.",
|
22 |
-
"Que dia m谩s bonito",
|
23 |
-
"Como sincronizo el m贸bil con Lya2"
|
24 |
-
]
|
25 |
-
},
|
26 |
-
})
|
27 |
-
|
28 |
-
output = query({
|
29 |
-
"inputs": {
|
30 |
-
"wait_for_model" : True,
|
31 |
-
"source_sentence": "Informaci贸n sobre Lya2",
|
32 |
-
"sentences": [
|
33 |
-
"Conoces Lya2",
|
34 |
-
"He perdido la contrase帽a. Como la recupero.",
|
35 |
-
"Que dia m谩s bonito",
|
36 |
-
"Como sincronizo el m贸bil con Lya2"
|
37 |
-
]
|
38 |
-
},
|
39 |
-
})"""
|
40 |
-
|
41 |
output = query({
|
42 |
"inputs": {
|
43 |
"wait_for_model" : True,
|
|
|
12 |
response = requests.post(API_URL, headers=headers, json=payload)
|
13 |
return response.json()
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
output = query({
|
16 |
"inputs": {
|
17 |
"wait_for_model" : True,
|