Skip to content

Commit

Permalink
add repo url to models info
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya52 committed May 16, 2024
1 parent ce839e6 commit 9fb5939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions refact_webgui/webgui/selfhost_model_assigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def models_info(self):
"available_n_ctx": available_n_ctx,
"is_deprecated": bool(rec.get("deprecated", False)),
"repo_status": self._models_repo_status[k],
"repo_url": f"https://huggingface.co/{rec['model_path']}",
})
return {"models": info}

Expand Down

0 comments on commit 9fb5939

Please sign in to comment.