Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Improved type hints, various fixes, removes loguru hijacks #22

Merged
merged 20 commits into from
Jun 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: increase adhoc lora timeout
  • Loading branch information
tazlin committed Jun 21, 2023
commit 352d1768288ef7e488dfa56c3ac0cc564c9c4655
2 changes: 1 addition & 1 deletion hordelib/model_manager/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def get_lora_last_use(self, lora_name):
return None
return datetime.strptime(lora["last_used"], "%Y-%m-%d %H:%M:%S")

def fetch_adhoc_lora(self, lora_name, timeout=30):
def fetch_adhoc_lora(self, lora_name, timeout=45):
if type(lora_name) is int or lora_name.isdigit():
url = f"https://civitai.com/api/v1/models/{lora_name}"
else:
Expand Down