Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
d07a287
1
Parent(s):
2f56b86
Experimenting with few-shot classification.
Browse files
app.py
CHANGED
|
@@ -105,7 +105,7 @@ def zero_shot_classification(data):
|
|
| 105 |
|
| 106 |
def few_shot_classification(data):
|
| 107 |
results = onnx_few_shot_model(data['sequence'])
|
| 108 |
-
print(
|
| 109 |
response_string = json.dumps(results.tolist())
|
| 110 |
return response_string
|
| 111 |
|
|
|
|
| 105 |
|
| 106 |
def few_shot_classification(data):
|
| 107 |
results = onnx_few_shot_model(data['sequence'])
|
| 108 |
+
print(results)
|
| 109 |
response_string = json.dumps(results.tolist())
|
| 110 |
return response_string
|
| 111 |
|