Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,7 +182,7 @@ with gr.Blocks(theme=gr.themes.Glass(), css=custom_css) as demo:
|
|
| 182 |
ban_emo_unk_checkbox = gr.Checkbox(value=False, label="强制情感分类")
|
| 183 |
fn_button = gr.Button("开始识别", variant="primary")
|
| 184 |
with gr.Column(scale=3):
|
| 185 |
-
text_outputs = gr.Textbox(label="识别结果", lines=
|
| 186 |
fn_button.click(
|
| 187 |
fn=model_inference,
|
| 188 |
inputs=[
|
|
|
|
| 182 |
ban_emo_unk_checkbox = gr.Checkbox(value=False, label="强制情感分类")
|
| 183 |
fn_button = gr.Button("开始识别", variant="primary")
|
| 184 |
with gr.Column(scale=3):
|
| 185 |
+
text_outputs = gr.Textbox(label="识别结果", lines=25)
|
| 186 |
fn_button.click(
|
| 187 |
fn=model_inference,
|
| 188 |
inputs=[
|