Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
96 |
login_button = gr.Button("Login", variant="primary")
|
97 |
|
98 |
with gr.Column(visible=False) as main_interface:
|
99 |
-
gr.Markdown("## 🎨
|
100 |
with gr.Row():
|
101 |
with gr.Column(scale=1, elem_classes="container"):
|
102 |
image = gr.Image(
|
@@ -133,12 +133,14 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
133 |
with gr.Column(scale=1):
|
134 |
result_image = gr.Image(elem_classes="result-image", label="Generated Image")
|
135 |
gr.HTML("""
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
|
|
142 |
""")
|
143 |
|
144 |
inputs = [image, rotate_pitch, rotate_yaw, rotate_roll, blink, eyebrow, wink, pupil_x, pupil_y, aaa, eee, woo, smile, src_ratio, sample_ratio, crop_factor, output_format, output_quality]
|
|
|
96 |
login_button = gr.Button("Login", variant="primary")
|
97 |
|
98 |
with gr.Column(visible=False) as main_interface:
|
99 |
+
gr.Markdown("## 🎨 FaceCraft Alpha")
|
100 |
with gr.Row():
|
101 |
with gr.Column(scale=1, elem_classes="container"):
|
102 |
image = gr.Image(
|
|
|
133 |
with gr.Column(scale=1):
|
134 |
result_image = gr.Image(elem_classes="result-image", label="Generated Image")
|
135 |
gr.HTML("""
|
136 |
+
<div style="text-align: center; margin-top: 20px;">
|
137 |
+
<a href="https://pixio.myapps.ai" target="_blank">
|
138 |
+
<button style="background-color: #4CAF50; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; border-radius: 12px;">
|
139 |
+
Go to Pixio
|
140 |
+
</button>
|
141 |
+
</a>
|
142 |
+
<p>Click the button above to visit Pixio</p>
|
143 |
+
</div>
|
144 |
""")
|
145 |
|
146 |
inputs = [image, rotate_pitch, rotate_yaw, rotate_roll, blink, eyebrow, wink, pupil_x, pupil_y, aaa, eee, woo, smile, src_ratio, sample_ratio, crop_factor, output_format, output_quality]
|