Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks() as demo:
|
|
127 |
mode = gr.Radio(["Plain Text", "LaTeX Math"], label="Rendering Mode", value="Plain Text")
|
128 |
image_format = gr.Radio(["PNG", "JPEG"], label="Image Format", value="PNG")
|
129 |
|
130 |
-
line_spacing = gr.Slider(1.0,
|
131 |
output_image = gr.Image(label="Generated Image")
|
132 |
|
133 |
convert_button = gr.Button("Convert Text to Image")
|
|
|
127 |
mode = gr.Radio(["Plain Text", "LaTeX Math"], label="Rendering Mode", value="Plain Text")
|
128 |
image_format = gr.Radio(["PNG", "JPEG"], label="Image Format", value="PNG")
|
129 |
|
130 |
+
line_spacing = gr.Slider(1.0, 1000.0, value=1.2, step=0.1, label="Line Spacing")
|
131 |
output_image = gr.Image(label="Generated Image")
|
132 |
|
133 |
convert_button = gr.Button("Convert Text to Image")
|