Spaces:
Runtime error
Runtime error
updated gif allignment
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ 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><
|
| 60 |
with gr.Row():
|
| 61 |
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 62 |
with gr.Column():
|
|
@@ -87,7 +87,7 @@ 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><
|
| 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'
|
|
|
|
| 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("""<div style="text-align:center;"><iframe src="https://gifer.com/embed/25cz" width=480 height=270.000 frameBorder="0" allowFullScreen></iframe></div>""")
|
| 60 |
with gr.Row():
|
| 61 |
audio_mic = gr.Audio(source="microphone", type="filepath")
|
| 62 |
with gr.Column():
|
|
|
|
| 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("""<div style="text-align:center;"><iframe src="https://gifer.com/embed/2YYc" width=480 height=280.286 frameBorder="0" allowFullScreen></iframe></div>""")
|
| 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'
|