Skip to content

Commit

Permalink
Merge pull request #726 from bygimenez/main
Browse files Browse the repository at this point in the history
fix models search in download tab
  • Loading branch information
blaisewf authored Sep 22, 2024
2 parents 13bfb90 + 12a9e6a commit 895e064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabs/download/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def save_drop_model(dropbox):
def search_models(name):
url = f"https://cjtfqzjfdimgpvpwhzlv.supabase.co/rest/v1/models?name=ilike.%25{name}%25&order=created_at.desc&limit=15"
headers = {
"apikey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImNqdGZxempmZGltZ3B2cHdoemx2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTUxNjczODgsImV4cCI6MjAxMDc0MzM4OH0.7z5WMIbjR99c2Ooc0ma7B_FyGq10G8X-alkCYTkKR10"
"apikey": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImNqdGZxempmZGltZ3B2cHdoemx2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjY5MjYxMzQsImV4cCI6MjA0MjUwMjEzNH0.OyDXlhvH6D-IsHiWhPAGUtsPGGUvWQynfxUeQwfYToE"
}
response = requests.get(url, headers=headers)
data = response.json()
Expand Down

0 comments on commit 895e064

Please sign in to comment.