Spaces:
Runtime error
Runtime error
Commit
·
ade451a
1
Parent(s):
77f12ff
Atualização
Browse files- app.py +3 -3
- templates/template1.png +0 -0
- templates/template2 (copy).png +0 -0
- templates/template2.png +0 -0
- templates/template3.png +0 -0
app.py
CHANGED
@@ -177,9 +177,9 @@ def inference(obj2mask, image_numpy, main_text, second_text, only_test):
|
|
177 |
|
178 |
template2_coords = {
|
179 |
'x1': 30/2,
|
180 |
-
'y1':
|
181 |
-
'x2':
|
182 |
-
'y2':
|
183 |
}
|
184 |
|
185 |
draw_text(img1_1, template1_coords, main_text, second_text)
|
|
|
177 |
|
178 |
template2_coords = {
|
179 |
'x1': 30/2,
|
180 |
+
'y1': 30/2,
|
181 |
+
'x2': 300/2,
|
182 |
+
'y2': 740/2
|
183 |
}
|
184 |
|
185 |
draw_text(img1_1, template1_coords, main_text, second_text)
|
templates/template1.png
CHANGED
![]() |
![]() |
templates/template2 (copy).png
ADDED
![]() |
templates/template2.png
CHANGED
![]() |
![]() |
templates/template3.png
ADDED
![]() |