Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ class Chatbot():
|
|
| 32 |
# This is the list that will contain all the text elements in the current page
|
| 33 |
page_text = []
|
| 34 |
|
| 35 |
-
def visitor_body(text, tm, fontSize):
|
| 36 |
# tm is a 6-element tuple of floats that represent a 2x3 matrix, which is the text matrix for the text.
|
| 37 |
# The first two elements are the horizontal and vertical scaling factors, the third and fourth elements
|
| 38 |
# are the horizontal and vertical shear factors, and the fifth and sixth elements are the horizontal and vertical translation factors.
|
|
|
|
| 32 |
# This is the list that will contain all the text elements in the current page
|
| 33 |
page_text = []
|
| 34 |
|
| 35 |
+
def visitor_body(text, cm, tm, fontDict, fontSize):
|
| 36 |
# tm is a 6-element tuple of floats that represent a 2x3 matrix, which is the text matrix for the text.
|
| 37 |
# The first two elements are the horizontal and vertical scaling factors, the third and fourth elements
|
| 38 |
# are the horizontal and vertical shear factors, and the fifth and sixth elements are the horizontal and vertical translation factors.
|