Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jstzwj committed Feb 9, 2025
1 parent 84ce251 commit c2544bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,5 @@ olah-cli = "olah.server:cli"
where = ["src"]
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]

[tool.setuptools.package-data]
olah = ["static/*.html"]

[tool.wheel]
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
2 changes: 1 addition & 1 deletion src/olah/utils/repo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def get_newest_commit_hf(
"""
org_repo = get_org_repo(org, repo)
url = urljoin(
app.app_settings.config.hf_url_base(), f"/api/{repo_type}/{org_repo}"
app.state.app_settings.config.hf_url_base(), f"/api/{repo_type}/{org_repo}"
)
if app.state.app_settings.config.offline:
return await get_newest_commit_hf_offline(app, repo_type, org, repo)
Expand Down

0 comments on commit c2544bd

Please sign in to comment.