Spaces:
Sleeping
Sleeping
Update ui_client.py
Browse files- ui_client.py +10 -3
ui_client.py
CHANGED
@@ -379,6 +379,13 @@ with gr.Blocks(css=css) as interface:
|
|
379 |
"""
|
380 |
)
|
381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
|
383 |
|
384 |
system_voice_presets = get_system_voice_presets()
|
@@ -389,17 +396,17 @@ with gr.Blocks(css=css) as interface:
|
|
389 |
# UI Component
|
390 |
gr.Markdown(
|
391 |
"""
|
392 |
-
How can I access GPT-4? <a href="https://platform.openai.com/account/api-keys">[
|
393 |
"""
|
394 |
)
|
395 |
key_text_input = gr.Textbox(label='Please Enter OPENAI Key for accessing GPT-4 API', lines=1, placeholder="OPENAI Key here.",
|
396 |
value=utils.get_key())
|
397 |
-
text_input_value = '' if DEBUG is False else "
|
398 |
|
399 |
text_input = gr.Textbox(
|
400 |
label='Input Text Instruction',
|
401 |
lines=2,
|
402 |
-
placeholder="Input instruction here (e.g.,
|
403 |
value=text_input_value,
|
404 |
elem_id="prompt-in",)
|
405 |
|
|
|
379 |
"""
|
380 |
)
|
381 |
|
382 |
+
gr.HTML(
|
383 |
+
"""
|
384 |
+
<p>Begin with a text prompt, and let WavJourney transform it into captivating audio content. Experience engaging audio storylines, personalized voices, lifelike speech, emotionally resonant musical compositions, and immersive sound effects!
|
385 |
+
<p/>
|
386 |
+
"""
|
387 |
+
)
|
388 |
+
|
389 |
|
390 |
|
391 |
system_voice_presets = get_system_voice_presets()
|
|
|
396 |
# UI Component
|
397 |
gr.Markdown(
|
398 |
"""
|
399 |
+
How can I access GPT-4? <a href="https://platform.openai.com/account/api-keys">[Ref1]</a><a href="https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4">[Ref2]</a>
|
400 |
"""
|
401 |
)
|
402 |
key_text_input = gr.Textbox(label='Please Enter OPENAI Key for accessing GPT-4 API', lines=1, placeholder="OPENAI Key here.",
|
403 |
value=utils.get_key())
|
404 |
+
text_input_value = '' if DEBUG is False else "an audio introduction to quantum mechanics"
|
405 |
|
406 |
text_input = gr.Textbox(
|
407 |
label='Input Text Instruction',
|
408 |
lines=2,
|
409 |
+
placeholder="Input instruction here (e.g., an audio introduction to quantum mechanics).",
|
410 |
value=text_input_value,
|
411 |
elem_id="prompt-in",)
|
412 |
|