fierce74 commited on
Commit
a105ba9
1 Parent(s): 839a439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def predict(img):
35
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
36
 
37
  # %% [code] {"execution":{"iopub.status.busy":"2023-07-31T17:01:15.166908Z","iopub.execute_input":"2023-07-31T17:01:15.168263Z","iopub.status.idle":"2023-07-31T17:01:25.050227Z","shell.execute_reply.started":"2023-07-31T17:01:15.168215Z","shell.execute_reply":"2023-07-31T17:01:25.049147Z"}}
38
- examples = ['/kaggle/input/examples/street_bicycle.jpg',
39
- '/kaggle/input/examples/street_image.jpg']
40
 
41
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)),
42
  title = "bicycle detector",
 
35
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
36
 
37
  # %% [code] {"execution":{"iopub.status.busy":"2023-07-31T17:01:15.166908Z","iopub.execute_input":"2023-07-31T17:01:15.168263Z","iopub.status.idle":"2023-07-31T17:01:25.050227Z","shell.execute_reply.started":"2023-07-31T17:01:15.168215Z","shell.execute_reply":"2023-07-31T17:01:25.049147Z"}}
38
+ examples = ['street_bicycle.jpg',
39
+ 'street_image.jpg']
40
 
41
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)),
42
  title = "bicycle detector",