Spaces:
Runtime error
Runtime error
added gifs
Browse files
app.py
CHANGED
|
@@ -55,7 +55,8 @@ def img2para(cnet_img2):
|
|
| 55 |
demo = gr.Blocks()
|
| 56 |
|
| 57 |
with demo:
|
| 58 |
-
gr.HTML("<h2><center>Gradio Clients : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br>
|
|
|
|
| 59 |
with gr.Row():
|
| 60 |
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 61 |
with gr.Column():
|
|
@@ -85,8 +86,8 @@ with demo:
|
|
| 85 |
demo_chain_events = gr.Blocks()
|
| 86 |
|
| 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>
|
| 89 |
-
|
| 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'
|
|
|
|
| 55 |
demo = gr.Blocks()
|
| 56 |
|
| 57 |
with demo:
|
| 58 |
+
gr.HTML("<h2><center>Gradio Clients : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br>")
|
| 59 |
+
gr.HTML("""<iframe src="https://gifer.com/embed/25cz" width=480 height=270.000 frameBorder="0" allowFullScreen></iframe><p><a href="https://gifer.com">via GIFER</a></p>""")
|
| 60 |
with gr.Row():
|
| 61 |
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 62 |
with gr.Column():
|
|
|
|
| 86 |
demo_chain_events = gr.Blocks()
|
| 87 |
|
| 88 |
with demo_chain_events:
|
| 89 |
+
gr.HTML("<h2><center>Chaining Gradio Clients using Events : Whisper Client -> Stable Diffusion Client -> ControlNet Client -> Image2Paragraph Client</center></h2><br>")
|
| 90 |
+
gr.HTML("""<iframe src="https://gifer.com/embed/2YYc" width=480 height=280.286 frameBorder="0" allowFullScreen></iframe><p><a href="https://gifer.com">via GIFER</a></p>""")
|
| 91 |
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 92 |
btn_whisper = gr.Button("Trigger the Chained Events🚀🚀").style(full_width=True)
|
| 93 |
prompt = gr.Textbox(label="Getting the Prompt for Stable Diffusion using Whisper Gradio Client", interactive=False,) #value='a black swan'
|