Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,12 +94,12 @@ with gr.Blocks(css="""
|
|
| 94 |
visible=False,
|
| 95 |
interactive=False,
|
| 96 |
label=""
|
| 97 |
-
|
| 98 |
|
| 99 |
-
|
| 100 |
|
| 101 |
-
|
| 102 |
-
|
| 103 |
|
| 104 |
def switch_mode(mode):
|
| 105 |
if mode == '查詢單字':
|
|
|
|
| 94 |
visible=False,
|
| 95 |
interactive=False,
|
| 96 |
label=""
|
| 97 |
+
)
|
| 98 |
|
| 99 |
+
generate_button = gr.Button("✨ 生成句子", elem_id="generate-button")
|
| 100 |
|
| 101 |
+
result_output = gr.HTML(label="結果")
|
| 102 |
+
status_output = gr.Textbox(label="處理狀態", interactive=False)
|
| 103 |
|
| 104 |
def switch_mode(mode):
|
| 105 |
if mode == '查詢單字':
|