Final refactor

This commit is contained in:
BarsTiger
2022-02-06 16:57:10 +02:00
parent be4c49ecf3
commit 46b5329318
7 changed files with 15 additions and 14 deletions

View File

@@ -7,8 +7,8 @@ import json
from rich import print
client = SearchClient.create(
requests.get('https://raw.githubusercontent.com/BarsTiger/horsy/master/web_vars/search_app').json()['APP_ID'],
requests.get('https://raw.githubusercontent.com/BarsTiger/horsy/master/web_vars/search_app').json()['API_KEY'])
requests.get('https://raw.githubusercontent.com/horsy-ml/horsy/master/web_vars/search_app').json()['APP_ID'],
requests.get('https://raw.githubusercontent.com/horsy-ml/horsy/master/web_vars/search_app').json()['API_KEY'])
index = client.init_index('packages')