Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -765,7 +765,16 @@ def get_text_params():
|
|
765 |
aspect_ratio,
|
766 |
position,
|
767 |
scale_slider,
|
768 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
769 |
],
|
770 |
outputs=[combined_image, extracted_image],
|
771 |
queue=True
|
|
|
765 |
aspect_ratio,
|
766 |
position,
|
767 |
scale_slider,
|
768 |
+
# 텍스트 파라미터를 직접 전달
|
769 |
+
{
|
770 |
+
'text': text_input,
|
771 |
+
'font_size': font_size,
|
772 |
+
'thickness': thickness,
|
773 |
+
'color': color_dropdown,
|
774 |
+
'opacity': opacity_slider,
|
775 |
+
'x_position': text_x_position,
|
776 |
+
'y_position': text_y_position
|
777 |
+
}
|
778 |
],
|
779 |
outputs=[combined_image, extracted_image],
|
780 |
queue=True
|