Spaces:
Configuration error
Configuration error
fix webui
Browse files
webui.py
CHANGED
|
@@ -155,7 +155,7 @@ def build_ui(model=list(models)[0], lock=False, rasterize=False, force_light=Fal
|
|
| 155 |
with gr.Tabs() as tabs:
|
| 156 |
with gr.TabItem(label:="TikZ Code", id=0):
|
| 157 |
info = "Source code of the generated image."
|
| 158 |
-
tikz_code = gr.Code(label=label, show_label=False,
|
| 159 |
with gr.TabItem(label:="Compiled Image", id=1):
|
| 160 |
result_image = gr.Image(label=label, show_label=False, show_share_button=rasterize)
|
| 161 |
clear_btn.add([tikz_code, result_image])
|
|
|
|
| 155 |
with gr.Tabs() as tabs:
|
| 156 |
with gr.TabItem(label:="TikZ Code", id=0):
|
| 157 |
info = "Source code of the generated image."
|
| 158 |
+
tikz_code = gr.Code(label=label, show_label=False, interactive=False)
|
| 159 |
with gr.TabItem(label:="Compiled Image", id=1):
|
| 160 |
result_image = gr.Image(label=label, show_label=False, show_share_button=rasterize)
|
| 161 |
clear_btn.add([tikz_code, result_image])
|