Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,18 @@ css = """
|
|
66 |
|
67 |
with gr.Blocks(css=css) as demo:
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
-
gr.Markdown(" #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
with gr.Row():
|
72 |
prompt = gr.Text(
|
|
|
66 |
|
67 |
with gr.Blocks(css=css) as demo:
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
+
gr.Markdown(" # Rainbow Media Anime Generator")
|
70 |
+
gr.Markdown('## <a href="https://huggingface.co/John6666/wai-ani-nsfw-ponyxl-v11-sdxl" target="_blank">John6666/wai-ani-nsfw-ponyxl-v11-sdxl</a>')
|
71 |
+
|
72 |
+
|
73 |
+
# Button to redirect to another space
|
74 |
+
redirect_button = gr.Button("Try a realistic model instead", variant="secondary", scale=0)
|
75 |
+
|
76 |
+
# Action for the button to redirect (using JavaScript)
|
77 |
+
redirect_button.click(
|
78 |
+
lambda: f'<script>window.location.href = "https://example.com";</script>',
|
79 |
+
outputs=[]
|
80 |
+
)
|
81 |
|
82 |
with gr.Row():
|
83 |
prompt = gr.Text(
|