Nikita Makarov commited on
Commit
83317f8
·
1 Parent(s): cf7cffe

Fix secret name to youtubeapikey

Browse files
Files changed (1) hide show
  1. modal_proxy.py +1 -1
modal_proxy.py CHANGED
@@ -19,7 +19,7 @@ image = modal.Image.debian_slim().pip_install(
19
  "uvicorn"
20
  )
21
 
22
- @app.function(image=image, secrets=[modal.Secret.from_name("youtube-api-key")])
23
  @modal.fastapi_endpoint(method="GET", label="youtube-search")
24
  def search_youtube(query: str, limit: int = 5) -> Dict[str, Any]:
25
  """Search YouTube via official API"""
 
19
  "uvicorn"
20
  )
21
 
22
+ @app.function(image=image, secrets=[modal.Secret.from_name("youtubeapikey")])
23
  @modal.fastapi_endpoint(method="GET", label="youtube-search")
24
  def search_youtube(query: str, limit: int = 5) -> Dict[str, Any]:
25
  """Search YouTube via official API"""