hfjv commited on
Commit
d7f296f
·
verified ·
1 Parent(s): 0ab61af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -169,16 +169,6 @@ def toggle_video_inputs(choice):
169
 
170
  # Create Gradio Interface
171
  with gr.Blocks() as demo:
172
- # Embedding custom CSS directly
173
- gr.Markdown("""
174
- <style>
175
- /* Add your custom CSS here */
176
- .markdown {
177
- font-size: 18px;
178
- }
179
- </style>
180
- """, unsafe_allow_html=True)
181
-
182
  gr.Markdown("## YOLOv8 Object Detection on Images and Videos")
183
 
184
  model_choice = gr.Radio(["yolov8s.pt", "yolov8m.pt"], label="Select Model")
@@ -210,4 +200,4 @@ with gr.Blocks() as demo:
210
 
211
  gr.Markdown("Upload an image, provide an image URL, or provide a YouTube video URL to perform object detection using YOLOv8 model.")
212
 
213
- demo.launch(show_api=False)
 
169
 
170
  # Create Gradio Interface
171
  with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
172
  gr.Markdown("## YOLOv8 Object Detection on Images and Videos")
173
 
174
  model_choice = gr.Radio(["yolov8s.pt", "yolov8m.pt"], label="Select Model")
 
200
 
201
  gr.Markdown("Upload an image, provide an image URL, or provide a YouTube video URL to perform object detection using YOLOv8 model.")
202
 
203
+ demo.launch()