Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,6 @@ Original file is located at
|
|
9 |
|
10 |
#@title Setup + Download Model
|
11 |
# Install and load dependencies
|
12 |
-
import locale
|
13 |
-
locale.getpreferredencoding = lambda: "UTF-8"
|
14 |
-
|
15 |
import os
|
16 |
|
17 |
os.system("python3 -m pip install pytorch-lightning==1.7.0 aitextgen")
|
@@ -136,15 +133,15 @@ def generate_cards(
|
|
136 |
"{B}": "💀",
|
137 |
"{W}": "☀️",
|
138 |
"{T}": "↩️",
|
139 |
-
#"{1}": "1
|
140 |
-
#"{2}": "2
|
141 |
-
#"{3}": "3
|
142 |
-
#"{4}": "4
|
143 |
-
#"{5}": "5
|
144 |
-
#"{6}": "6
|
145 |
-
#"{7}": "7
|
146 |
-
#"{8}": "8
|
147 |
-
#"{9}": "9
|
148 |
}
|
149 |
|
150 |
for key, value in replacements.items():
|
|
|
9 |
|
10 |
#@title Setup + Download Model
|
11 |
# Install and load dependencies
|
|
|
|
|
|
|
12 |
import os
|
13 |
|
14 |
os.system("python3 -m pip install pytorch-lightning==1.7.0 aitextgen")
|
|
|
133 |
"{B}": "💀",
|
134 |
"{W}": "☀️",
|
135 |
"{T}": "↩️",
|
136 |
+
#"{1}": "(1)",
|
137 |
+
#"{2}": "(2)",
|
138 |
+
#"{3}": "(3)",
|
139 |
+
#"{4}": "(4)",
|
140 |
+
#"{5}": "(5)",
|
141 |
+
#"{6}": "(6)",
|
142 |
+
#"{7}": "(7)",
|
143 |
+
#"{8}": "(8)",
|
144 |
+
#"{9}": "(9)",
|
145 |
}
|
146 |
|
147 |
for key, value in replacements.items():
|