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