Spaces:
Runtime error
Runtime error
AmitPress
commited on
Commit
·
5843f7f
1
Parent(s):
874c83a
clone from
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
import openai
|
5 |
from huggingface_hub import Repository
|
6 |
|
7 |
-
repo = Repository("AmitPress/snake-detection")
|
8 |
secret_key = repo.get_secret('openapi')
|
9 |
openai.api_key(secret_key)
|
10 |
model = YOLO('resource/twenty-eight-first.pt')
|
|
|
4 |
import openai
|
5 |
from huggingface_hub import Repository
|
6 |
|
7 |
+
repo = Repository("https://huggingface.co/spaces/AmitPress/snake-detection")
|
8 |
secret_key = repo.get_secret('openapi')
|
9 |
openai.api_key(secret_key)
|
10 |
model = YOLO('resource/twenty-eight-first.pt')
|