seawolf2357 commited on
Commit
ec5cc9e
·
verified ·
1 Parent(s): b8bf7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -13
app.py CHANGED
@@ -102,10 +102,9 @@ def predict(request: gr.Request, *args, progress=gr.Progress(track_tqdm=True)):
102
  css = '''
103
  #col-container{max-width: 720px;margin: 0 auto;}
104
  '''
105
- with gr.Blocks(css=css) as demo:
106
  with gr.Column(elem_id="col-container"):
107
- gr.Markdown("# Expression Editor")
108
- gr.Markdown("Demo for expression-editor cog image by fofr")
109
  with gr.Row():
110
  with gr.Column():
111
  image = gr.Image(
@@ -198,16 +197,7 @@ with gr.Blocks(css=css) as demo:
198
  submit_btn = gr.Button("Submit")
199
  with gr.Column():
200
  result_image = gr.Image(elem_id="top")
201
- gr.HTML("""
202
- <div style="display: flex; flex-direction: column;justify-content: center; align-items: center; text-align: center;">
203
- <p style="display: flex;gap: 6px;">
204
- <a href="https://huggingface.co/spaces/fffiloni/expression-editor?duplicate=true">
205
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg.svg" alt="Duplicate this Space">
206
- </a>
207
- </p>
208
- <p>to skip the queue and enjoy faster inference on the GPU of your choice </p>
209
- </div>
210
- """)
211
 
212
  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]
213
  outputs = [result_image]
 
102
  css = '''
103
  #col-container{max-width: 720px;margin: 0 auto;}
104
  '''
105
+ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
106
  with gr.Column(elem_id="col-container"):
107
+ gr.Markdown("얼굴 표정 변화 생성")
 
108
  with gr.Row():
109
  with gr.Column():
110
  image = gr.Image(
 
197
  submit_btn = gr.Button("Submit")
198
  with gr.Column():
199
  result_image = gr.Image(elem_id="top")
200
+
 
 
 
 
 
 
 
 
 
201
 
202
  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]
203
  outputs = [result_image]