Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ pipe = pipeline('zero-shot-classification', model=model)
|
|
6 |
|
7 |
def infer(text, classes, multi_label):
|
8 |
output = pipe(text, classes, multi_label=multi_label)
|
|
|
9 |
return output
|
10 |
|
11 |
text_input = gr.Textbox(lines=5, placeholder='Once upon a time...', label='Text Source', show_label=True)
|
|
|
6 |
|
7 |
def infer(text, classes, multi_label):
|
8 |
output = pipe(text, classes, multi_label=multi_label)
|
9 |
+
print(output)
|
10 |
return output
|
11 |
|
12 |
text_input = gr.Textbox(lines=5, placeholder='Once upon a time...', label='Text Source', show_label=True)
|