Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ install("pixeltable==0.2.20")
|
|
10 |
install("git+https://github.com/Megvii-BaseDetection/YOLOX.git")
|
11 |
|
12 |
import gradio as gr
|
13 |
-
from gradio.themes import Glass
|
14 |
import pixeltable as pxt
|
15 |
from pixeltable.iterators import FrameIterator
|
16 |
from pixeltable.ext.functions.yolox import yolox
|
@@ -79,7 +78,7 @@ def process_video(video_file, model_id, threshold, progress=gr.Progress()):
|
|
79 |
return output_video, frame_gallery
|
80 |
|
81 |
# Gradio interface
|
82 |
-
with gr.Blocks(theme=
|
83 |
gr.Markdown(
|
84 |
"""
|
85 |
<div max-width: 800px; margin: 0 auto;">
|
|
|
10 |
install("git+https://github.com/Megvii-BaseDetection/YOLOX.git")
|
11 |
|
12 |
import gradio as gr
|
|
|
13 |
import pixeltable as pxt
|
14 |
from pixeltable.iterators import FrameIterator
|
15 |
from pixeltable.ext.functions.yolox import yolox
|
|
|
78 |
return output_video, frame_gallery
|
79 |
|
80 |
# Gradio interface
|
81 |
+
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
|
82 |
gr.Markdown(
|
83 |
"""
|
84 |
<div max-width: 800px; margin: 0 auto;">
|