Skip to content

Commit

Permalink
Update launch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arlojeremy authored Jul 19, 2024
1 parent f597bf1 commit 3251a74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
sys.path.append(root)
os.chdir(root)

print('HERE IS WHAT ROOT IS: ', root)

os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1"
os.environ["PYTORCH_MPS_HIGH_WATERMARK_RATIO"] = "0.0"
if "GRADIO_SERVER_PORT" not in os.environ:
Expand Down

0 comments on commit 3251a74

Please sign in to comment.