Skip to content

Commit

Permalink
Style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
us8945 committed Sep 19, 2024
1 parent 1a9cc73 commit c459134
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions llm_studio/app_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1851,8 +1851,11 @@ def get_experiments(
df.loc[df.status == "finished", "progress"] = "1.0"

# make sure that if experiment is running the progress is at most 99%
df.loc[(df.status == "running") &
(pd.to_numeric(df.progress, errors='coerce') > 0.99), "progress"] = ".99"
df.loc[
(df.status == "running")
& (pd.to_numeric(df.progress, errors="coerce") > 0.99),
"progress",
] = ".99"

df["info"] = np.where(
(df["status"] == "running") & (df["eta"] != ""),
Expand Down

0 comments on commit c459134

Please sign in to comment.