import gradio as gr # Define your ElevenLabs agent URL agent_url = "https://elevenlabs.io/app/talk-to?agent_id=EERV7uoyRL7PKvGFYuX7" # Function to return a clickable HTML link def get_call_link(): return f"""

Click the button below to talk to the AI Agent:

""" with gr.Blocks() as app: gr.Markdown("## 🤖 Talk to AI Agent") call_btn = gr.Button("Show Call Link") html_output = gr.HTML() call_btn.click(fn=get_call_link, outputs=html_output) app.launch(server_name="0.0.0.0", server_port=7860)