Phani-ISB commited on
Commit
684baaa
·
verified ·
1 Parent(s): 961f04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -60,9 +60,7 @@ def live_detect(img):
60
  return Image.fromarray(frame)
61
 
62
  # GradIO User Interface (UI)
63
- with gr.Blocks(css="""
64
- #cam {max-width:100%; border-radius:12px;}
65
- """) as demo:
66
 
67
  gr.Markdown(
68
  """
@@ -87,4 +85,8 @@ with gr.Blocks(css="""
87
 
88
  gr.Markdown("<hr><center><b>Developed by Phani</b></center>")
89
 
90
- demo.queue(concurrency_count=1).launch()
 
 
 
 
 
60
  return Image.fromarray(frame)
61
 
62
  # GradIO User Interface (UI)
63
+ with gr.Blocks() as demo:
 
 
64
 
65
  gr.Markdown(
66
  """
 
85
 
86
  gr.Markdown("<hr><center><b>Developed by Phani</b></center>")
87
 
88
+ demo.queue().launch(
89
+ css="""
90
+ #cam {max-width:100%; border-radius:12px;}
91
+ """
92
+ )