Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ with gr.Blocks() as demo:
|
|
52 |
with gr.Column():
|
53 |
audio_file =[
|
54 |
gr.Audio(source="microphone", type="filepath")]
|
55 |
-
|
56 |
with gr.Row():
|
57 |
-
|
58 |
with gr.Column():
|
59 |
steps = gr.inputs.Slider(label="Steps - more steps can increase quality but will take longer to generate",default=1,maximum=50,minimum=1,step=1)
|
60 |
width = gr.inputs.Slider(label="Width", default=256, step=32, maximum=256, minimum=32)
|
|
|
52 |
with gr.Column():
|
53 |
audio_file =[
|
54 |
gr.Audio(source="microphone", type="filepath")]
|
55 |
+
text = gr.Textbox(label="Text", placeholder="If you dont want to record or upload your voice you can input text here")
|
56 |
with gr.Row():
|
57 |
+
speech_to_text = gr.Button("Speech to text go brrr")
|
58 |
with gr.Column():
|
59 |
steps = gr.inputs.Slider(label="Steps - more steps can increase quality but will take longer to generate",default=1,maximum=50,minimum=1,step=1)
|
60 |
width = gr.inputs.Slider(label="Width", default=256, step=32, maximum=256, minimum=32)
|