Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -79,15 +79,14 @@ sampletext = gr.HTML("""
|
|
79 |
<source src="sampleaudio/abraham.wav" type="audio/wav">
|
80 |
Your browser does not support the audio element.
|
81 |
</audio>
|
82 |
-
|
83 |
""")
|
84 |
micinput = gr.Audio(sources=['microphone'], type="filepath", format="wav", value="sampleaudio/abraham.wav")
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
|
92 |
radio4 = gr.Radio(["black-forest-labs/FLUX.1-schnell"], value="black-forest-labs/FLUX.1-schnell", label="Select", info="text to image")
|
93 |
tab4 = gr.Interface(
|
|
|
79 |
<source src="sampleaudio/abraham.wav" type="audio/wav">
|
80 |
Your browser does not support the audio element.
|
81 |
</audio>
|
|
|
82 |
""")
|
83 |
micinput = gr.Audio(sources=['microphone'], type="filepath", format="wav", value="sampleaudio/abraham.wav")
|
84 |
|
85 |
+
tab3 = gr.Interface(
|
86 |
+
fn=text2speech,
|
87 |
+
inputs=[textbox, sampletext, micinput],
|
88 |
+
outputs=["audio"],
|
89 |
+
)
|
90 |
|
91 |
radio4 = gr.Radio(["black-forest-labs/FLUX.1-schnell"], value="black-forest-labs/FLUX.1-schnell", label="Select", info="text to image")
|
92 |
tab4 = gr.Interface(
|