Maximef commited on
Commit
8e8ee9b
·
1 Parent(s): ba7c40f

add description

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -172,9 +172,12 @@ examples1 = [["exemple1.jpg", "Yologo", 0.60], ["exemple2.jpg", "Yologo", 0.60],
172
  ["exemple5.jpg", "Yologo", 0.60], ["exemple6.jpg", "Yologo", 0.60]]
173
 
174
  Top_Title = "<center>Yolov7 🚀 Custom Trained by ISAI Team (Capgemini) </center> Logo detection model"
 
175
 
176
  gr.Interface(detect_logo, [gr.Image(type="pil"), gr.Dropdown(value="Yologo",
177
  choices=["Yologo"]), gr.Slider(0.10, 1.0, value=0.60)], [gr.Image(type="pil"), "text"],
178
- title=Top_Title, examples=examples1, cache_examples=True).launch()
 
 
179
 
180
 
 
172
  ["exemple5.jpg", "Yologo", 0.60], ["exemple6.jpg", "Yologo", 0.60]]
173
 
174
  Top_Title = "<center>Yolov7 🚀 Custom Trained by ISAI Team (Capgemini) </center> Logo detection model"
175
+ Custom_description="Yologo can detect 44 brands : A.P.C, Abercrombie, Acne Studio, Adidas, Aigle, Airness, Armarni, Balenciaga, Bulgari, Cacharel, Calvin Klein, Carhatt, Champion, Columbia, Converse, Gap, Chanel, Lacoste, Levis, Louis vuitton, Moncler, Mossimo, New Balance, Obey, Pepe jeans, Ralph Lauren, Prada, Rolex, Seiko, Stussy, The North Face, Timberland, Tom Ford, Tommy Hilfiger, Uniqlo, Valentino, Versace, Zara, Asics, Le coq, Oakley, Nike, Puma, Reebok "
176
 
177
  gr.Interface(detect_logo, [gr.Image(type="pil"), gr.Dropdown(value="Yologo",
178
  choices=["Yologo"]), gr.Slider(0.10, 1.0, value=0.60)], [gr.Image(type="pil"), "text"],
179
+ title=Top_Title,
180
+ description=Custom_description,
181
+ examples=examples1, cache_examples=True).launch()
182
 
183