PierreBrunelle commited on
Commit
db31e66
·
verified ·
1 Parent(s): dc6e97e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ install("pixeltable==0.2.20")
10
  install("git+https://github.com/Megvii-BaseDetection/YOLOX.git")
11
 
12
  import gradio as gr
13
- import gradio.themes as Soft
14
  import pixeltable as pxt
15
  from pixeltable.iterators import FrameIterator
16
  from pixeltable.ext.functions.yolox import yolox
@@ -86,7 +86,7 @@ def process_video(video_file, model_id, threshold, progress=gr.Progress()):
86
  return output_video, frame_gallery
87
 
88
  # Gradio interface
89
- with gr.Blocks(theme=Soft) as demo:
90
  gr.Markdown(
91
  """
92
  <div max-width: 800px; margin: 0 auto;">
 
10
  install("git+https://github.com/Megvii-BaseDetection/YOLOX.git")
11
 
12
  import gradio as gr
13
+ from gradio.themes import Soft
14
  import pixeltable as pxt
15
  from pixeltable.iterators import FrameIterator
16
  from pixeltable.ext.functions.yolox import yolox
 
86
  return output_video, frame_gallery
87
 
88
  # Gradio interface
89
+ with gr.Blocks(theme=Soft()) as demo:
90
  gr.Markdown(
91
  """
92
  <div max-width: 800px; margin: 0 auto;">