buletomato25 commited on
Commit
cfeb3ec
·
1 Parent(s): 1da3080

delete_login

Browse files
__pycache__/login.cpython-310.pyc CHANGED
Binary files a/__pycache__/login.cpython-310.pyc and b/__pycache__/login.cpython-310.pyc differ
 
__pycache__/models.cpython-310.pyc ADDED
Binary file (943 Bytes). View file
 
app.py CHANGED
@@ -15,8 +15,6 @@ from google.oauth2 import id_token
15
  from google_auth_oauthlib.flow import Flow
16
  from google.auth.transport import requests as google_requests
17
 
18
-
19
-
20
  # Hugging Face のトークン取得(環境変数 HF に設定)
21
  #hf_token = os.environ.get("HF")
22
  load_dotenv()
@@ -36,6 +34,9 @@ app = Flask(__name__)
36
 
37
  app.config['SECRET_KEY'] = os.urandom(24)
38
 
 
 
 
39
  def cosine_similarity(vec1, vec2):
40
  vec1 = vec1 / np.linalg.norm(vec1)
41
  vec2 = vec2 / np.linalg.norm(vec2)
 
15
  from google_auth_oauthlib.flow import Flow
16
  from google.auth.transport import requests as google_requests
17
 
 
 
18
  # Hugging Face のトークン取得(環境変数 HF に設定)
19
  #hf_token = os.environ.get("HF")
20
  load_dotenv()
 
34
 
35
  app.config['SECRET_KEY'] = os.urandom(24)
36
 
37
+
38
+
39
+
40
  def cosine_similarity(vec1, vec2):
41
  vec1 = vec1 / np.linalg.norm(vec1)
42
  vec2 = vec2 / np.linalg.norm(vec2)