nachiiiket commited on
Commit
22580dd
1 Parent(s): 160cf2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -158,14 +158,14 @@ def detect_Custom(img,model):
158
  Custom_description="<center>Custom Training Performed on Google Colab <a href='https://drive.google.com/drive/folders/1Ez0ZFGaeV6yS7wfSHyY5T7SFRICKKdCj?usp=sharing' style='text-decoration: underline' target='_blank'>Link</a> </center><br> <center>Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors </center>"
159
 
160
  Footer = (
161
- "<center>Model Trained by: Students of Sipna College of Engineering and Technology, Amravati, Maharashtra. </center>"
162
 
163
  "<center> Model Trained Google Kernel <a href=\"https://drive.google.com/file/d/1WSOTKwThX2CA_G0NOKOsTxsfMVJSeGH5/view?usp=sharing\">Link</a> <br></center>"
164
 
165
  "<center> HuggingFace🤗 Model Deployed Repository <a href=\"https://huggingface.co/spaces/GauriDeshpande/AutoFis_Yolov7\">Link</a> <br></center>"
166
  )
167
 
168
- Top_Title="<center>Automated Identification of Fish Spieces (AutoFis) using Yolov8 🚀</center>"
169
 
170
  css = ".output-image, .input-image, .image-preview {height: 300px !important}"
171
- gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="YOLOv7",choices=["YOLOv7", "YOLOv5", "YOLOv8"])],gr.Image(type="pil"),css=css,title=Top_Title,description=Custom_description,article=Footer,cache_examples=False).launch()
 
158
  Custom_description="<center>Custom Training Performed on Google Colab <a href='https://drive.google.com/drive/folders/1Ez0ZFGaeV6yS7wfSHyY5T7SFRICKKdCj?usp=sharing' style='text-decoration: underline' target='_blank'>Link</a> </center><br> <center>Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors </center>"
159
 
160
  Footer = (
161
+ "<center>Model Trained by: Student of Sipna College of Engineering and Technology, Amravati, Maharashtra. </center>"
162
 
163
  "<center> Model Trained Google Kernel <a href=\"https://drive.google.com/file/d/1WSOTKwThX2CA_G0NOKOsTxsfMVJSeGH5/view?usp=sharing\">Link</a> <br></center>"
164
 
165
  "<center> HuggingFace🤗 Model Deployed Repository <a href=\"https://huggingface.co/spaces/GauriDeshpande/AutoFis_Yolov7\">Link</a> <br></center>"
166
  )
167
 
168
+ Top_Title="<center>Automated Identification of Fish Spieces using Yolov7 🚀</center>"
169
 
170
  css = ".output-image, .input-image, .image-preview {height: 300px !important}"
171
+ gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="YOLOv7",choices=["YOLOv7"])],gr.Image(type="pil"),css=css,title=Top_Title,description=Custom_description,article=Footer,cache_examples=False).launch()