Spaces:
Runtime error
Runtime error
improving mobile layout further
Browse files
app.py
CHANGED
@@ -169,6 +169,8 @@ with gr.Blocks() as demo:
|
|
169 |
clear_btn = gr.ClearButton(value=clear_label[index],components=[text_input])
|
170 |
submit_btn = gr.Button(value=submit_label[index], variant = "primary")
|
171 |
|
|
|
|
|
172 |
markdown_msg1 = gr.Markdown(
|
173 |
"""
|
174 |
灯谜是中华文化特色文娱活动,自北宋盛行。每年逢正月十五元宵节,或是八月十五中秋节,将谜语贴在花灯上,让大家可一起猜谜。
|
@@ -177,20 +179,14 @@ with gr.Blocks() as demo:
|
|
177 |
is held in the Lantern Festival (15th day of the first lunar month) or the Mid-Autumn Festival (15th day of \
|
178 |
the eighth lunar month). When people are viewing the flower lanterns, they can guess the riddles on the lanterns together.
|
179 |
|
180 |
-
----
|
181 |
-

|
182 |
|
183 |
"""
|
184 |
)
|
|
|
185 |
with gr.Column():
|
186 |
-
text_output = gr.Textbox(label=text_output_label[index])
|
187 |
markdown_msg2 = gr.Markdown(
|
188 |
"""
|
189 |
-
|
190 |
-
<br />
|
191 |
-
<br />
|
192 |
-
<br />
|
193 |
-
<br />
|
194 |
|
195 |
---
|
196 |
# 声明 Disclaimer
|
|
|
169 |
clear_btn = gr.ClearButton(value=clear_label[index],components=[text_input])
|
170 |
submit_btn = gr.Button(value=submit_label[index], variant = "primary")
|
171 |
|
172 |
+
text_output = gr.Textbox(label=text_output_label[index])
|
173 |
+
|
174 |
markdown_msg1 = gr.Markdown(
|
175 |
"""
|
176 |
灯谜是中华文化特色文娱活动,自北宋盛行。每年逢正月十五元宵节,或是八月十五中秋节,将谜语贴在花灯上,让大家可一起猜谜。
|
|
|
179 |
is held in the Lantern Festival (15th day of the first lunar month) or the Mid-Autumn Festival (15th day of \
|
180 |
the eighth lunar month). When people are viewing the flower lanterns, they can guess the riddles on the lanterns together.
|
181 |
|
|
|
|
|
182 |
|
183 |
"""
|
184 |
)
|
185 |
+
|
186 |
with gr.Column():
|
|
|
187 |
markdown_msg2 = gr.Markdown(
|
188 |
"""
|
189 |
+

|
|
|
|
|
|
|
|
|
190 |
|
191 |
---
|
192 |
# 声明 Disclaimer
|