Spaces:
Runtime error
Runtime error
Commit ·
470f207
1
Parent(s): 7bdea22
made image clickable
Browse files
app.py
CHANGED
|
@@ -219,6 +219,7 @@ def txt2img(prompt, negative_prompt, model, steps, sampler, cfg_scale, width, he
|
|
| 219 |
|
| 220 |
# Static Image URL
|
| 221 |
static_image_url = "https://dev.rendernet.ai/images/hf_banner.png"
|
|
|
|
| 222 |
|
| 223 |
css = """
|
| 224 |
#generate {
|
|
@@ -231,7 +232,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 231 |
# Add a Row for the Static Image
|
| 232 |
with gr.Row():
|
| 233 |
with gr.Column():
|
| 234 |
-
|
|
|
|
| 235 |
|
| 236 |
with gr.Row():
|
| 237 |
with gr.Column(scale=6):
|
|
|
|
| 219 |
|
| 220 |
# Static Image URL
|
| 221 |
static_image_url = "https://dev.rendernet.ai/images/hf_banner.png"
|
| 222 |
+
static_image_link_url="https://rendernet.ai"
|
| 223 |
|
| 224 |
css = """
|
| 225 |
#generate {
|
|
|
|
| 232 |
# Add a Row for the Static Image
|
| 233 |
with gr.Row():
|
| 234 |
with gr.Column():
|
| 235 |
+
static_image_with_link = gr.Link(href=static_image_link_url)
|
| 236 |
+
static_image_with_link.img(src=static_image_url)
|
| 237 |
|
| 238 |
with gr.Row():
|
| 239 |
with gr.Column(scale=6):
|