Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def create_interface():
|
| 4 |
+
title = "Empowering Everything with AI"
|
| 5 |
+
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."
|
| 6 |
+
description = "Join us in building a future where AI connects and enhances every aspect of life."
|
| 7 |
+
image_path = "image.jpeg" # Path to the uploaded image
|
| 8 |
+
|
| 9 |
+
with gr.Blocks() as demo:
|
| 10 |
+
gr.Markdown(f"# {title}")
|
| 11 |
+
gr.Markdown(subtitle)
|
| 12 |
+
gr.Markdown(description)
|
| 13 |
+
gr.Image(image_path)
|
| 14 |
+
|
| 15 |
+
return demo
|
| 16 |
+
|
| 17 |
+
if __name__ == "__main__":
|
| 18 |
+
demo = create_interface()
|
| 19 |
+
demo.launch()
|