Spaces:
Sleeping
Sleeping
Commit
·
710feff
1
Parent(s):
675f40a
debug: print url
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 |
|
17 |
def get_middle_thumbnail(input_image: Image, grid_size=(10, 10), padding=3):
|
@@ -447,6 +446,7 @@ def get_sprite_firebase(cid, rsid, uid):
|
|
447 |
path = f"{account_id}/{COLLAB_EDIT_LINK}/{uid}/{cid}/{rsid}"
|
448 |
|
449 |
data = db.child(path).get()
|
|
|
450 |
return data.val()
|
451 |
|
452 |
|
|
|
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 |
|
16 |
def get_middle_thumbnail(input_image: Image, grid_size=(10, 10), padding=3):
|
|
|
446 |
path = f"{account_id}/{COLLAB_EDIT_LINK}/{uid}/{cid}/{rsid}"
|
447 |
|
448 |
data = db.child(path).get()
|
449 |
+
print(config, data.val())
|
450 |
return data.val()
|
451 |
|
452 |
|