MixoMax commited on
Commit
86dad78
1 Parent(s): dfe7359

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -13,6 +13,8 @@ import os
13
 
14
  os.system("python3 -m pip install pytorch-lightning==1.7.0 aitextgen")
15
 
 
 
16
  with open("/home/user/.local/lib/python3.10/site-packages/pytorch_lightning/callbacks/progress/rich_progress.py", "r") as file:
17
  lines = file.readlines()
18
 
 
13
 
14
  os.system("python3 -m pip install pytorch-lightning==1.7.0 aitextgen")
15
 
16
+
17
+ # Hacky workaround because "_compare version" was moved and renamed into "lightning_utilities.core.imports.compare_version"
18
  with open("/home/user/.local/lib/python3.10/site-packages/pytorch_lightning/callbacks/progress/rich_progress.py", "r") as file:
19
  lines = file.readlines()
20