Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ model.to(device)
|
|
| 12 |
model.eval()
|
| 13 |
|
| 14 |
# ID to label mapping
|
| 15 |
-
id2label = {0: "
|
| 16 |
|
| 17 |
def classify_query(text):
|
| 18 |
if not text.strip():
|
|
|
|
| 12 |
model.eval()
|
| 13 |
|
| 14 |
# ID to label mapping
|
| 15 |
+
id2label = {0: "Update", 1: "Analyse", 2: "Insert", 3: "Delete", 4: "Select"}
|
| 16 |
|
| 17 |
def classify_query(text):
|
| 18 |
if not text.strip():
|