Update app.py
Browse files
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("/usr/local/lib/python3.10/dist-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 |
+
from aitextgen import aitextgen
|
17 |
+
|
18 |
with open("/usr/local/lib/python3.10/dist-packages/pytorch_lightning/callbacks/progress/rich_progress.py", "r") as file:
|
19 |
lines = file.readlines()
|
20 |
|