Spaces:
Runtime error
Runtime error
added filetypes
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ demo = gr.Blocks()
|
|
| 57 |
with demo:
|
| 58 |
gr.HTML("<h2><center>Gradio Clients : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br><br>")
|
| 59 |
with gr.Row():
|
| 60 |
-
audio_mic = gr.Audio(source="microphone"
|
| 61 |
with gr.Column():
|
| 62 |
btn_whisper = gr.Button("Transcribe👇").style(full_width=True)
|
| 63 |
prompt = gr.Textbox(label="prompt for SD image generation", interactive=False) #, value='a black swan')
|
|
@@ -87,7 +87,7 @@ demo_chain_events = gr.Blocks()
|
|
| 87 |
with demo_chain_events:
|
| 88 |
gr.HTML("<h2><center>Chaining Gradio Clients using Events : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br><br>")
|
| 89 |
#with gr.Row():
|
| 90 |
-
audio_mic = gr.Audio(source="microphone"
|
| 91 |
btn_whisper = gr.Button("Trigger the Chained Events🚀🚀").style(full_width=True)
|
| 92 |
prompt = gr.Textbox(label="Getting the Prompt for Stable Diffusion using Whisper Gradio Client", interactive=False,) #value='a black swan'
|
| 93 |
|
|
|
|
| 57 |
with demo:
|
| 58 |
gr.HTML("<h2><center>Gradio Clients : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br><br>")
|
| 59 |
with gr.Row():
|
| 60 |
+
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 61 |
with gr.Column():
|
| 62 |
btn_whisper = gr.Button("Transcribe👇").style(full_width=True)
|
| 63 |
prompt = gr.Textbox(label="prompt for SD image generation", interactive=False) #, value='a black swan')
|
|
|
|
| 87 |
with demo_chain_events:
|
| 88 |
gr.HTML("<h2><center>Chaining Gradio Clients using Events : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br><br>")
|
| 89 |
#with gr.Row():
|
| 90 |
+
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 91 |
btn_whisper = gr.Button("Trigger the Chained Events🚀🚀").style(full_width=True)
|
| 92 |
prompt = gr.Textbox(label="Getting the Prompt for Stable Diffusion using Whisper Gradio Client", interactive=False,) #value='a black swan'
|
| 93 |
|