import gradio as gr
def display_html():
html_content = """
Hello, Gradio!
This is an example of displaying HTML content using Gradio.
- Item 11
- Item 22
- Item 33
aaa
"""
return html_content
# Gradioのインターフェースを作成
# Note: このInterfaceは使用せず、下のBlocksベースのgradio_interfaceを使用
# gradio_interfaces = gr.Interface(
# fn=display_html, # HTMLコンテンツを返す関数
# inputs=[], # 入力なし
# outputs=gr.Markdown() # HTMLコンテンツを表示
# )
# Gradioのインターフェースを作成
with gr.Blocks() as gradio_interface:
gr.HTML(display_html())
# インターフェースを起動
#iface.launch()