tsi-org commited on
Commit
d97a32e
·
verified ·
1 Parent(s): 8057ab6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
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("## 🎨 Demo for expression-editor cog image by fofr")
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
- <div style="text-align: center; margin-top: 20px;">
137
- <a href="https://huggingface.co/spaces/fffiloni/expression-editor?duplicate=true">
138
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate this Space">
139
- </a>
140
- <p>Skip the queue and enjoy faster inference on the GPU of your choice</p>
141
- </div>
 
 
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]