rosebe commited on
Commit
a28d86d
·
1 Parent(s): 25747aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -97,14 +97,14 @@ vid_interface = gr.Interface(
97
  )
98
 
99
  # Add examples
100
- with gr.Blocks() as demo:
101
- gr.Examples(
102
- examples=[os.path.join(os.path.abspath(''), "plastic_bottles1.jpg")],
103
- inputs= "image",
104
- outputs= "image",
105
- fn=detect_image,
106
- cache_examples=True,
107
- )
108
 
109
  # Create a list of interfaces
110
  interfaces = [img_interface, examples1, vid_interface]
 
97
  )
98
 
99
  # Add examples
100
+ # with gr.Blocks() as demo:
101
+ # gr.Examples(
102
+ # examples=[os.path.join(os.path.abspath(''), "plastic_bottles1.jpg")],
103
+ # inputs= "image",
104
+ # outputs= "image",
105
+ # fn=detect_image,
106
+ # cache_examples=True,
107
+ # )
108
 
109
  # Create a list of interfaces
110
  interfaces = [img_interface, examples1, vid_interface]