Skip to content

Commit

Permalink
noghing
Browse files Browse the repository at this point in the history
  • Loading branch information
ILG2021 committed Mar 12, 2023
1 parent 7b5c2dd commit b911df2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Empty file added __init__.py
Empty file.
2 changes: 1 addition & 1 deletion pyinstaller-mac.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pyinstaller --noconfirm --onedir --console --icon "./yolo.png" --add-data "./venv/Lib/site-packages/yolov7;yolov7/" "./yolo.py"
pyinstaller --noconfirm --onedir --console --icon './yolo.ico' --add-data /Users/macos/Desktop/yolo-server/venv/lib/python3.8/site-packages/yolov7:yolov7 "/Users/macos/Desktop/yolo-server/yolo.py"
6 changes: 0 additions & 6 deletions yolo.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license
"""
Run a Flask REST API exposing one or more YOLOv5s models
"""

import argparse
import base64
import io
import json

import yolov7
from PIL import Image
from flask import Flask, request, jsonify
Expand Down

0 comments on commit b911df2

Please sign in to comment.