Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,6 +60,7 @@ CSS ="""
|
|
60 |
#textbox { flex-grow: 1; overflow: auto; resize: vertical; }
|
61 |
.secondary {background-color: #6366f1; }
|
62 |
#full-width-button { width: 100%; }
|
|
|
63 |
"""
|
64 |
#with gr.Blocks() as demo:
|
65 |
with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)) as demo:
|
@@ -67,13 +68,13 @@ with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)
|
|
67 |
gr.Markdown("# 裁定検索")
|
68 |
with gr.Row():
|
69 |
output = gr.TextArea(
|
70 |
-
elem_id="
|
71 |
label="検索結果",
|
72 |
)
|
73 |
with gr.Row():
|
74 |
input = gr.Textbox(
|
75 |
label="質問",
|
76 |
-
placeholder="
|
77 |
lines=3,
|
78 |
)
|
79 |
with gr.Row():
|
|
|
60 |
#textbox { flex-grow: 1; overflow: auto; resize: vertical; }
|
61 |
.secondary {background-color: #6366f1; }
|
62 |
#full-width-button { width: 100%; }
|
63 |
+
#search-result { overflow-y: scroll; }
|
64 |
"""
|
65 |
#with gr.Blocks() as demo:
|
66 |
with gr.Blocks(theme=gr.themes.Monochrome(radius_size=gr.themes.sizes.radius_sm)) as demo:
|
|
|
68 |
gr.Markdown("# 裁定検索")
|
69 |
with gr.Row():
|
70 |
output = gr.TextArea(
|
71 |
+
elem_id="search-result",
|
72 |
label="検索結果",
|
73 |
)
|
74 |
with gr.Row():
|
75 |
input = gr.Textbox(
|
76 |
label="質問",
|
77 |
+
placeholder="芸魔龍王アメイジンの出た時の効果は、後から出たクリーチャーも影響しますか",
|
78 |
lines=3,
|
79 |
)
|
80 |
with gr.Row():
|