File size: 560 Bytes
7e4285f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import gradio as gr
# Replace with your actual Padlet URL
padlet_url = "https://padlet.com/mirankim316/digital-literacy-and-english-education-spring-2024-2gmo48o5djxsjpqa"
# Create an iframe HTML string to embed the Padlet
padlet_embed_html = f"""
<iframe src="{padlet_url}" frameborder="0" style="width:100%; height:500px;"></iframe>
"""
def main():
# Create a Gradio block and add the HTML component
with gr.Blocks() as demo:
gr.HTML(padlet_embed_html)
# Launch the Gradio app
demo.launch()
if __name__ == "__main__":
main()
|