oliverlevn commited on
Commit
3a42afa
·
1 Parent(s): af2c0dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
120
  demo = gradio.Interface(fn=predict, # mapping function from input to output
121
  inputs=gradio.Image(type= "numpy"), # what are the inputs?
122
  outputs=[gradio.outputs.Image(type= "filepath", label="Image with Bounding Boxes"),
123
- gradio.outputs.Label(type="auto", label="Prediction Time", formatter=format_time_output)], # our fn has two outputs
124
  # Create examples list from "examples/" directory
125
  examples=example_list,
126
  title=title,
 
120
  demo = gradio.Interface(fn=predict, # mapping function from input to output
121
  inputs=gradio.Image(type= "numpy"), # what are the inputs?
122
  outputs=[gradio.outputs.Image(type= "filepath", label="Image with Bounding Boxes"),
123
+ gradio.outputs.Label(type="auto", label="Prediction Time")], # our fn has two outputs
124
  # Create examples list from "examples/" directory
125
  examples=example_list,
126
  title=title,