Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -130,8 +130,8 @@ with open("./css/style.css", "r", encoding="utf-8") as f:
|
|
130 |
|
131 |
with gr.Blocks(css=customCSS) as demo:
|
132 |
exceed_flag = gr.State(value=False)
|
133 |
-
bubble_text = gr.State(value="
|
134 |
-
character_area = gr.HTML(get_character_html("
|
135 |
with gr.Tab("Speak", elem_id="tab-speak"):
|
136 |
speak_input = gr.Textbox(lines=1, label="Talking Flower will say:", elem_classes="wonder-card", elem_id="input_text")
|
137 |
speak_button = gr.Button("Speak!", elem_id="speak_button", elem_classes="main-button wonder-card")
|
|
|
130 |
|
131 |
with gr.Blocks(css=customCSS) as demo:
|
132 |
exceed_flag = gr.State(value=False)
|
133 |
+
bubble_text = gr.State(value="")
|
134 |
+
character_area = gr.HTML(get_character_html("你好呀!"), elem_id="character_area")
|
135 |
with gr.Tab("Speak", elem_id="tab-speak"):
|
136 |
speak_input = gr.Textbox(lines=1, label="Talking Flower will say:", elem_classes="wonder-card", elem_id="input_text")
|
137 |
speak_button = gr.Button("Speak!", elem_id="speak_button", elem_classes="main-button wonder-card")
|