Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -321,7 +321,7 @@ with gr.Blocks(css="footer {visibility: hidden;} .custom-image {width: 64px; hei
|
|
| 321 |
with gr.Blocks(css=".custom-btn-container { display: flex; justify-content: center; } .custom-btn { width: 150px; height: 30px; background-color: lightblue; border-radius: 10px; font-size: 12px; color: #3C82F6; }"):
|
| 322 |
with gr.Row(elem_classes=["custom-btn-container"]): # 中央揃え用のクラス
|
| 323 |
user_btn = gr.Button("情報", elem_classes=["custom-btn"], visible=False)
|
| 324 |
-
user_btn.click(fn=user_info, inputs=[state], outputs=
|
| 325 |
|
| 326 |
#user_btn = gr.Button("情報", elem_classes=["custom-btn"])
|
| 327 |
|
|
|
|
| 321 |
with gr.Blocks(css=".custom-btn-container { display: flex; justify-content: center; } .custom-btn { width: 150px; height: 30px; background-color: lightblue; border-radius: 10px; font-size: 12px; color: #3C82F6; }"):
|
| 322 |
with gr.Row(elem_classes=["custom-btn-container"]): # 中央揃え用のクラス
|
| 323 |
user_btn = gr.Button("情報", elem_classes=["custom-btn"], visible=False)
|
| 324 |
+
user_btn.click(fn=user_info, inputs=[state], outputs=user_btn)
|
| 325 |
|
| 326 |
#user_btn = gr.Button("情報", elem_classes=["custom-btn"])
|
| 327 |
|