Armanul commited on
Commit
324e814
·
verified ·
1 Parent(s): 76165b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,6 +24,6 @@ def classify_dataset_type(description):
24
 
25
  # label = gr.outputs.Label(num_top_classes=3)
26
  # iface = gr.Interface(fn=classify_dataset_type, inputs="text", outputs=label)
27
- iface = gr.Interface(fn=classify_dataset_type, gr.Text(), gr.Label())
28
  iface.launch(inline=False, share=True)
29
 
 
24
 
25
  # label = gr.outputs.Label(num_top_classes=3)
26
  # iface = gr.Interface(fn=classify_dataset_type, inputs="text", outputs=label)
27
+ iface = gr.Interface(fn=classify_dataset_type, inputs="textbox", outputs=gr.Label())
28
  iface.launch(inline=False, share=True)
29