Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
bd9a53f
1
Parent(s):
f7dd1fa
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.tolist)
|
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(
|