Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
f7dd1fa
1
Parent(s):
a22030c
Experimenting with few-shot classification.
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def zero_shot_classification(data):
|
|
| 75 |
|
| 76 |
def few_shot_classification(data):
|
| 77 |
results = onnx_few_shot_model(data['sequence'])
|
| 78 |
-
response_string = json.dumps(results.
|
| 79 |
return response_string
|
| 80 |
|
| 81 |
gradio_interface = gradio.Interface(
|
|
|
|
| 75 |
|
| 76 |
def few_shot_classification(data):
|
| 77 |
results = onnx_few_shot_model(data['sequence'])
|
| 78 |
+
response_string = json.dumps(results.tolist)
|
| 79 |
return response_string
|
| 80 |
|
| 81 |
gradio_interface = gradio.Interface(
|