Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
# Community info
|
| 4 |
+
community_name = "QS-OpenLab"
|
| 5 |
+
description = """QS-OpenLab is a collaborative space dedicated to exploring and advancing quantum science,
|
| 6 |
+
AI integration, and open research initiatives. Our goal is to bring together enthusiasts, researchers,
|
| 7 |
+
and developers to share projects, ideas, and tools in a friendly and open environment."""
|
| 8 |
+
|
| 9 |
+
# Path to uploaded logo file
|
| 10 |
+
logo_path = "QS_OpenLab.png" # Must match the uploaded file name
|
| 11 |
+
|
| 12 |
+
# Build Gradio interface
|
| 13 |
+
with gr.Blocks() as app:
|
| 14 |
+
with gr.Column(
|
| 15 |
+
elem_id="card",
|
| 16 |
+
scale=1,
|
| 17 |
+
visible=True,
|
| 18 |
+
):
|
| 19 |
+
# Logo
|
| 20 |
+
gr.Image(value=logo_path, shape=(200, 200), interactive=False)
|
| 21 |
+
|
| 22 |
+
# Community name
|
| 23 |
+
gr.Markdown(f"## {community_name}")
|
| 24 |
+
|
| 25 |
+
# Description
|
| 26 |
+
gr.Markdown(description)
|
| 27 |
+
|
| 28 |
+
# Launch app
|
| 29 |
+
app.launch()
|