| import gradio as gr |
|
|
| def create_interface(): |
| title = "Empowering Everything with AI" |
| subtitle = "We believe in empowering everything through the transformative power of AI. Just like a hydrangea, where many people come together to create a new society." |
| description = "Join us in building a future where AI connects and enhances every aspect of life." |
| image_path = "image.jpeg" |
|
|
| with gr.Blocks() as demo: |
| gr.Markdown(f"# {title}") |
| gr.Markdown(subtitle) |
| gr.Markdown(description) |
| gr.Image(image_path) |
| |
| return demo |
|
|
| if __name__ == "__main__": |
| demo = create_interface() |
| demo.launch() |
|
|