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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def predict(data):
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=[
39
  {"prompt": "This is the prompt", "A": "Option A text", "B": "Option B text", "C": "Option C text", "D": "Option D text", "E": "Option E text"}
 
33
  iface = gr.Interface(
34
  fn=predict,
35
  inputs=["text","checkbox",gr.Slider(0,100)],
36
+ outputs=["text","number"],
37
  live=True,
38
  examples=[
39
  {"prompt": "This is the prompt", "A": "Option A text", "B": "Option B text", "C": "Option C text", "D": "Option D text", "E": "Option E text"}