Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyda Cinarel committed Feb 16, 2021
1 parent a494f5c commit f213554
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="torchserve_dashboard",
version="v0.2.4",
version="v0.2.5",
url="https://github.com/cceyda/torchserve-dashboard",
license="Apache Software License 2.0",
author="Ceyda Cinarel",
Expand Down
2 changes: 1 addition & 1 deletion torchserve_dashboard/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def raise_on_not200(response):

def start_torchserve(model_store, config_path, log_location=None, metrics_location=None):
new_env={}
env=os.environ()
env=os.environ
for x in ENVIRON_WHITELIST:
if x in env:
new_env[x]=env[x]
Expand Down
2 changes: 1 addition & 1 deletion torchserve_dashboard/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
layout="centered",
initial_sidebar_state="expanded",
)
st.write(os.environ)

parser = argparse.ArgumentParser(description="Torchserve dashboard")

parser.add_argument("--model_store", default=None, help="Directory where your models are stored")
Expand Down

0 comments on commit f213554

Please sign in to comment.