med_expert / app.py
Manasa1's picture
Update app.py
af00036 verified
raw
history blame
463 Bytes
import gradio as gr
def embed_did_agent():
return """
<script
type="module"
src="https://agent.d-id.com/v1/index.js"
data-name="did-agent"
data-mode="fabio"
data-client-key="Z29vZ2xlLW9hdXRoMnwxMDQ5Nzg0NTA5MTE0MTMxMzE0Nzk6T0x2TnRSbVBlWVdyemhxajg1bkp0"
data-agent-id="agt_yGKAc5pK"
data-monitor="true">
</script>
"""
iface = gr.Interface(fn=embed_did_agent, outputs="html")
iface.launch()