Spaces:
Sleeping
Sleeping
import gradio as gr | |
def transcribe(): | |
return "text" | |
def generate_html_css(): | |
return "<p style=\"font-size: 16px;\">Hello world.</p>\n\n<style>\nbody {\n font-size: 16px;\n}</style>" | |
def process_audio(): | |
transcription = transcribe() | |
html_css = generate_html_css() | |
return transcription, html_css | |
demo = gr.Interface( | |
fn=process_audio, | |
inputs=[], | |
outputs=[ | |
gr.Textbox(label="Transcription"), | |
gr.Textbox(label="Generated HTML/CSS") | |
], | |
title="Whisper Large V3 + Falcon LLM: Transcribe and Visualize", | |
allow_flagging="never", | |
) | |
demo.queue().launch() | |