TDN-M commited on
Commit
8e0c145
1 Parent(s): b75a4a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -8,9 +8,7 @@ import gradio as gr
8
 
9
  from model import Model
10
 
11
- DESCRIPTION = """# [HairCLIP](https://github.com/wty-ustc/HairCLIP)
12
-
13
- <center><img id="teaser" src="https://raw.githubusercontent.com/wty-ustc/HairCLIP/main/assets/teaser.png" alt="teaser"></center>
14
  """
15
 
16
 
@@ -37,7 +35,7 @@ model = Model()
37
  with gr.Blocks(css="style.css") as demo:
38
  gr.Markdown(DESCRIPTION)
39
  with gr.Group():
40
- gr.Markdown("## Step 1")
41
  with gr.Row():
42
  with gr.Column():
43
  with gr.Row():
@@ -60,13 +58,13 @@ with gr.Blocks(css="style.css") as demo:
60
  with gr.Column():
61
  with gr.Row():
62
  editing_type = gr.Radio(
63
- label="Editing Type", choices=["hairstyle", "color", "both"], value="both", type="value"
64
  )
65
  with gr.Row():
66
  hairstyles = load_hairstyle_list()
67
- hairstyle_index = gr.Dropdown(label="Hairstyle", choices=hairstyles, value="afro", type="index")
68
  with gr.Row():
69
- color_description = gr.Textbox(label="Color", value="red")
70
  with gr.Row():
71
  run_button = gr.Button("Run")
72
 
 
8
 
9
  from model import Model
10
 
11
+ DESCRIPTION = """# ĐÂY LÀ ỨNG DỤNG ĐANG THỬ NGHIỆM CỦA TDNM
 
 
12
  """
13
 
14
 
 
35
  with gr.Blocks(css="style.css") as demo:
36
  gr.Markdown(DESCRIPTION)
37
  with gr.Group():
38
+ gr.Markdown("## Bước 1")
39
  with gr.Row():
40
  with gr.Column():
41
  with gr.Row():
 
58
  with gr.Column():
59
  with gr.Row():
60
  editing_type = gr.Radio(
61
+ label="Chọn loại thay đổi", choices=["Kiểu tóc", "Màu tóc", "Cả hai"], value="both", type="value"
62
  )
63
  with gr.Row():
64
  hairstyles = load_hairstyle_list()
65
+ hairstyle_index = gr.Dropdown(label="Kiểu tóc", choices=hairstyles, value="afro", type="index")
66
  with gr.Row():
67
+ color_description = gr.Textbox(label="Màu tóc", value="red")
68
  with gr.Row():
69
  run_button = gr.Button("Run")
70