Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,10 +56,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
56 |
gr.Markdown("Upload or record your voice. We'll transcribe it and guess your fictional personality.")
|
57 |
|
58 |
with gr.Row():
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
analyze_button = gr.Button("Analyze")
|
64 |
|
65 |
analyze_button.click(fn=analyze_speaker, inputs=audio_input, outputs=[transcribed_text, persona_output])
|
|
|
56 |
gr.Markdown("Upload or record your voice. We'll transcribe it and guess your fictional personality.")
|
57 |
|
58 |
with gr.Row():
|
59 |
+
audio_input = gr.Audio(sources=["microphone", "upload"], type="numpy", label="π€ Your Voice")
|
60 |
+
transcribed_text = gr.Textbox(label="π Transcription")
|
61 |
+
persona_output = gr.Textbox(label="π§ Persona Analysis")
|
|
|
62 |
analyze_button = gr.Button("Analyze")
|
63 |
|
64 |
analyze_button.click(fn=analyze_speaker, inputs=audio_input, outputs=[transcribed_text, persona_output])
|