MixoMax commited on
Commit
aac648b
1 Parent(s): 4a09e01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -12
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():