Commit
·
4dec853
1
Parent(s):
89de044
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=[gr.Textbox(label="Input"), gr.Textbox(label="Candidate Labels")], outputs=gr.Label(label="Classification"), title="Umer Text Classification", examples=examples,
|
| 17 |
demo.launch(True)
|
|
|
|
| 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"), title="Umer Text Classification", examples=examples,)
|
| 17 |
demo.launch(True)
|