Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -70,12 +70,15 @@ tab2 = gr.Interface(
|
|
70 |
inputs=[radio2, gr.Image(type="pil")],
|
71 |
outputs=["text"],
|
72 |
)
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
79 |
|
80 |
radio4 = gr.Radio(["black-forest-labs/FLUX.1-schnell"], value="black-forest-labs/FLUX.1-schnell", label="Select", info="text to image")
|
81 |
tab4 = gr.Interface(
|
|
|
70 |
inputs=[radio2, gr.Image(type="pil")],
|
71 |
outputs=["text"],
|
72 |
)
|
73 |
+
|
74 |
+
|
75 |
+
with gr.Blocks() as tab3:
|
76 |
+
textbox = gr.Textbox(value="good morning pineapple! looking very good very nice!")
|
77 |
+
gr.Interface(
|
78 |
+
fn=text2speech,
|
79 |
+
inputs=[textbox, gr.Audio(sources=['microphone'], type="filepath", format="wav", value="sampleaudio/abraham.wav")],
|
80 |
+
outputs=["audio"],
|
81 |
+
)
|
82 |
|
83 |
radio4 = gr.Radio(["black-forest-labs/FLUX.1-schnell"], value="black-forest-labs/FLUX.1-schnell", label="Select", info="text to image")
|
84 |
tab4 = gr.Interface(
|