AmitPress commited on
Commit
430d7fc
·
1 Parent(s): 5843f7f

clone from spaces

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import streamlit as st
3
  from PIL import Image
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')
 
3
  from PIL import Image
4
  import openai
5
  from huggingface_hub import Repository
6
+ # from git import Repo
7
+ repo = Repository("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')