Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -142,11 +142,21 @@ with gr.Blocks(css=css) as demo:
|
|
142 |
with gr.Column(elem_id="left-column"):
|
143 |
gr.Markdown("""# Rainbow Media X""")
|
144 |
|
145 |
-
# Add buttons for external links above the prompt
|
146 |
with gr.Row(elem_id="external-links"):
|
147 |
-
|
148 |
-
|
149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
# Display result image at the top
|
152 |
result = gr.Image(label="Result", show_label=False, elem_id="result")
|
|
|
142 |
with gr.Column(elem_id="left-column"):
|
143 |
gr.Markdown("""# Rainbow Media X""")
|
144 |
|
145 |
+
# Add buttons for external links above the prompt using Markdown
|
146 |
with gr.Row(elem_id="external-links"):
|
147 |
+
gr.Markdown(
|
148 |
+
"""
|
149 |
+
<a href="https://example.com/space1" target="_blank">
|
150 |
+
<button class="gradio-button" style="width: 100%;">Go to Space 1</button>
|
151 |
+
</a>
|
152 |
+
<a href="https://example.com/space2" target="_blank">
|
153 |
+
<button class="gradio-button" style="width: 100%;">Go to Space 2</button>
|
154 |
+
</a>
|
155 |
+
<a href="https://example.com/space3" target="_blank">
|
156 |
+
<button class="gradio-button" style="width: 100%;">Go to Space 3</button>
|
157 |
+
</a>
|
158 |
+
"""
|
159 |
+
)
|
160 |
|
161 |
# Display result image at the top
|
162 |
result = gr.Image(label="Result", show_label=False, elem_id="result")
|