Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -62,39 +62,23 @@ css = """
|
|
62 |
margin: 0 auto;
|
63 |
max-width: 640px;
|
64 |
}
|
65 |
-
.button-link {
|
66 |
-
display: inline-block;
|
67 |
-
padding: 10px 20px;
|
68 |
-
background-color: #4CAF50;
|
69 |
-
color: white;
|
70 |
-
text-align: center;
|
71 |
-
text-decoration: none;
|
72 |
-
border-radius: 5px;
|
73 |
-
font-size: 16px;
|
74 |
-
transition: background-color 0.3s;
|
75 |
-
}
|
76 |
-
|
77 |
-
.button-link:hover {
|
78 |
-
background-color: #45a049;
|
79 |
-
}
|
80 |
"""
|
81 |
|
82 |
with gr.Blocks(css=css) as demo:
|
83 |
with gr.Column(elem_id="col-container"):
|
84 |
gr.Markdown(" # Rainbow Media Anime Generator")
|
85 |
-
gr.Markdown('
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
)
|
96 |
|
97 |
-
|
98 |
|
99 |
result = gr.Image(label="Result", show_label=False)
|
100 |
|
|
|
62 |
margin: 0 auto;
|
63 |
max-width: 640px;
|
64 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
"""
|
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://example.com" target="_blank" class="button-link">Try a more realistic model</a>')
|
71 |
+
|
72 |
+
|
73 |
+
prompt = gr.Text(
|
74 |
+
label="Prompt",
|
75 |
+
show_label=False,
|
76 |
+
lines=3,
|
77 |
+
placeholder="Enter your prompt",
|
78 |
+
container=False,
|
79 |
+
)
|
|
|
80 |
|
81 |
+
run_button = gr.Button("Run", scale=0, variant="primary")
|
82 |
|
83 |
result = gr.Image(label="Result", show_label=False)
|
84 |
|