Spaces:
Runtime error
Runtime error
Commit
·
2155e74
1
Parent(s):
83fd0ba
adjust char_w, update requirements
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -18,7 +18,7 @@ GRAYSCALE_LEVEL = CHAR_LEN / 256
|
|
18 |
SCALE = 0.15
|
19 |
|
20 |
# Character dimensions (width and height in pixels) used to match image aspect ratio to character aspect ratio
|
21 |
-
CHAR_W =
|
22 |
CHAR_H = 14
|
23 |
|
24 |
##### FUNCTIONS #####
|
|
|
18 |
SCALE = 0.15
|
19 |
|
20 |
# Character dimensions (width and height in pixels) used to match image aspect ratio to character aspect ratio
|
21 |
+
CHAR_W = 8
|
22 |
CHAR_H = 14
|
23 |
|
24 |
##### FUNCTIONS #####
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
gradio
|
2 |
pillow
|
3 |
numpy
|
|
|
|
1 |
gradio
|
2 |
pillow
|
3 |
numpy
|
4 |
+
math
|