Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -13,5 +13,5 @@ def zeroShotClassification(text_input, candidate_labels):
|
|
13 |
|
14 |
examples = [["One day I will see the world", "travel, live, die, future"]]
|
15 |
|
16 |
-
demo = gr.Interface(fn=zeroShotClassification, inputs=["
|
17 |
demo.launch()
|
|
|
13 |
|
14 |
examples = [["One day I will see the world", "travel, live, die, future"]]
|
15 |
|
16 |
+
demo = gr.Interface(fn=zeroShotClassification, inputs=[gr.Textbox(label="Input"), gr.Textbox(label="Candidate Labels")], outputs=gr.Label(label="Classification"), examples=examples)
|
17 |
demo.launch()
|