multimodalart HF Staff commited on
Commit
b39045a
·
verified ·
1 Parent(s): 56f38a1

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ CSS = """
72
  .dark .gradio-container { color: var(--body-text-color); }
73
  """
74
 
75
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="YOLOv26n VisDrone Detection") as demo:
76
  gr.Markdown(
77
  """
78
  # YOLOv26n VisDrone Object Detection
@@ -118,4 +118,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="YOLOv26n VisDrone Detec
118
  cache_mode="lazy",
119
  )
120
 
121
- demo.launch(mcp_server=True)
 
72
  .dark .gradio-container { color: var(--body-text-color); }
73
  """
74
 
75
+ with gr.Blocks(title="YOLOv26n VisDrone Detection") as demo:
76
  gr.Markdown(
77
  """
78
  # YOLOv26n VisDrone Object Detection
 
118
  cache_mode="lazy",
119
  )
120
 
121
+ demo.launch(mcp_server=True, theme=gr.themes.Citrus(), css=CSS)