Ravi21 commited on
Commit
c76e1ed
·
1 Parent(s): eafd233

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict(data):
32
  # Create the Gradio interface
33
  iface = gr.Interface(
34
  fn=predict,
35
- inputs=gr.inputs.Input(type="json"),
36
  outputs=gr.outputs.Label(num_top_classes=3),
37
  live=True,
38
  examples=[
 
32
  # Create the Gradio interface
33
  iface = gr.Interface(
34
  fn=predict,
35
+ inputs=["text","checkbox",gr.Slider(0,100)],
36
  outputs=gr.outputs.Label(num_top_classes=3),
37
  live=True,
38
  examples=[