Jaehan commited on
Commit
7de7a9d
1 Parent(s): c9206a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,4 +12,6 @@ def classify(text, labels):
12
 
13
  in_text = grad.Textbox(lines=1, label="English", placeholder="Text to be classified")
14
  in_labels = grad.Textbox(lines=1, label="Labels", placeholder="Comma separated labels")
15
- out = grad.Textbox(lines=1, inputs=[in_text, in_labels], outputs=out).launch()
 
 
 
12
 
13
  in_text = grad.Textbox(lines=1, label="English", placeholder="Text to be classified")
14
  in_labels = grad.Textbox(lines=1, label="Labels", placeholder="Comma separated labels")
15
+ out = grad.Textbox(lines=1, label="Classification")
16
+
17
+ grad.Interface(classify, inputs=[in_text, in_labels], outputs=out).launch()