ClassCat commited on
Commit
e0cde4b
1 Parent(s): 3f85d67

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ COLORS = ["#ff7f7f", "#ff7fbf", "#ff7fff", "#bf7fff",
27
  "#7fff7f", "#bfff7f", "#ffff7f", "#ffbf7f"]
28
 
29
  fdic = {
30
- "family" : "Times New Roman",
31
  "style" : "italic",
32
  "size" : 15,
33
  "color" : "yellow",
@@ -109,7 +109,7 @@ with gr.Blocks(title="YOLOS Object Detection - ClassCat",
109
  threshold = gr.Slider(0, 1.0, value=0.9, label='threshold')
110
 
111
  gr.HTML("""<br/>""")
112
- gr.HTML("""<h4 style="color:navy;">4. Then, click "Infer" button to predict object instances. It will take about 10 seconds (on cpu)</h4>""")
113
 
114
  send_btn = gr.Button("Infer")
115
  send_btn.click(fn=infer, inputs=[input_image, model, threshold], outputs=[output_image])
 
27
  "#7fff7f", "#bfff7f", "#ffff7f", "#ffbf7f"]
28
 
29
  fdic = {
30
+ "family" : "DejaVu Serif",
31
  "style" : "italic",
32
  "size" : 15,
33
  "color" : "yellow",
 
109
  threshold = gr.Slider(0, 1.0, value=0.9, label='threshold')
110
 
111
  gr.HTML("""<br/>""")
112
+ gr.HTML("""<h4 style="color:navy;">4. Then, click "Infer" button to predict object instances. It will take about 10 seconds (yolos-tiny) or 20 seconds (yolos-small).</h4>""")
113
 
114
  send_btn = gr.Button("Infer")
115
  send_btn.click(fn=infer, inputs=[input_image, model, threshold], outputs=[output_image])