Spaces:
Sleeping
Sleeping
Merge branch 'main' of https://huggingface.co/spaces/RollAI/ChatWithTranscriptDev
Browse files- crop_utils.py +2 -2
crop_utils.py
CHANGED
@@ -9,9 +9,8 @@ import pyrebase
|
|
9 |
import requests
|
10 |
from openai import OpenAI
|
11 |
from PIL import Image, ImageDraw, ImageFont
|
12 |
-
from ultralytics import YOLO
|
13 |
-
|
14 |
from prompts import remove_unwanted_prompt
|
|
|
15 |
|
16 |
model = YOLO("yolo11n.pt")
|
17 |
|
@@ -332,6 +331,7 @@ def get_sprite_firebase(cid, rsid, uid):
|
|
332 |
path = f"{account_id}/{COLLAB_EDIT_LINK}/{uid}/{cid}/{rsid}"
|
333 |
|
334 |
data = db.child(path).get()
|
|
|
335 |
return data.val()
|
336 |
|
337 |
|
|
|
9 |
import requests
|
10 |
from openai import OpenAI
|
11 |
from PIL import Image, ImageDraw, ImageFont
|
|
|
|
|
12 |
from prompts import remove_unwanted_prompt
|
13 |
+
from ultralytics import YOLO
|
14 |
|
15 |
model = YOLO("yolo11n.pt")
|
16 |
|
|
|
331 |
path = f"{account_id}/{COLLAB_EDIT_LINK}/{uid}/{cid}/{rsid}"
|
332 |
|
333 |
data = db.child(path).get()
|
334 |
+
|
335 |
return data.val()
|
336 |
|
337 |
|