Update app.py
Browse files
app.py
CHANGED
@@ -116,13 +116,12 @@ description = "This is a project description. It demonstrates how to use Gradio
|
|
116 |
|
117 |
import os
|
118 |
examples = [
|
119 |
-
["traffic.jpg", 'person,car,traffic sign,traffic light'],
|
120 |
-
["3000.jpeg",'person,car,traffic sign,traffic light']
|
121 |
]
|
122 |
|
123 |
|
124 |
|
125 |
-
|
126 |
# Create a Blocks object and use it as a context manager
|
127 |
with gr.Blocks() as demo:
|
128 |
gr.Markdown(
|
|
|
116 |
|
117 |
import os
|
118 |
examples = [
|
119 |
+
["traffic.jpg", 'person,car,traffic sign,traffic light', "Segmentation"], # Example with "Segmentation" selected
|
120 |
+
["3000.jpeg", 'person,car,traffic sign,traffic light', "Detection"], # Example with "Detection" selected
|
121 |
]
|
122 |
|
123 |
|
124 |
|
|
|
125 |
# Create a Blocks object and use it as a context manager
|
126 |
with gr.Blocks() as demo:
|
127 |
gr.Markdown(
|