PSNbst commited on
Commit
21bc132
·
verified ·
1 Parent(s): ec75df1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -167,7 +167,7 @@ Do not add extra headings.
167
  ##############################################################################
168
  def build_interface():
169
  with gr.Blocks() as demo:
170
- gr.Markdown("## Prompt Transformer - 不显示原Prompt与gender/base_prompt,只输出新tags和描述 (GPT/DeepSeek)")
171
 
172
  with gr.Row():
173
  with gr.Column():
@@ -179,14 +179,14 @@ def build_interface():
179
  )
180
  # 输入 API Key
181
  api_key = gr.Textbox(
182
- label="API Key",
183
  type="password",
184
  placeholder="Enter your GPT or DeepSeek Key here"
185
  )
186
 
187
  # 性别/Furry
188
  gender_option = gr.Radio(
189
- label="Gender / Furry Conversion",
190
  choices=[
191
  "Trans_to_Male",
192
  "Trans_to_Female",
@@ -258,7 +258,7 @@ def build_interface():
258
  user_prompt = gr.Textbox(
259
  label="原始 Prompt (Base Tags)",
260
  lines=5,
261
- placeholder="e.g. 1girl, butterfly, solo, flower..."
262
  )
263
  final_output = gr.Textbox(
264
  label="(转化后Tags)\n\n(转化后描述)",
@@ -268,12 +268,12 @@ def build_interface():
268
  # 翻译
269
  with gr.Row():
270
  translate_lang = gr.Dropdown(
271
- label="翻译语言",
272
  choices=["English", "Chinese", "Japanese", "French", "German", "Spanish"],
273
  value="English"
274
  )
275
  translated_result = gr.Textbox(
276
- label="翻译后的结果",
277
  lines=10
278
  )
279
 
 
167
  ##############################################################################
168
  def build_interface():
169
  with gr.Blocks() as demo:
170
+ gr.Markdown("## Prompt Transformer Tool- 提示词物种性别转化器(GPT/DeepSeek)")
171
 
172
  with gr.Row():
173
  with gr.Column():
 
179
  )
180
  # 输入 API Key
181
  api_key = gr.Textbox(
182
+ label="API Key-API密匙",
183
  type="password",
184
  placeholder="Enter your GPT or DeepSeek Key here"
185
  )
186
 
187
  # 性别/Furry
188
  gender_option = gr.Radio(
189
+ label="Gender / Furry Conversion 选择物种性别",
190
  choices=[
191
  "Trans_to_Male",
192
  "Trans_to_Female",
 
258
  user_prompt = gr.Textbox(
259
  label="原始 Prompt (Base Tags)",
260
  lines=5,
261
+ placeholder="Your Prompts"
262
  )
263
  final_output = gr.Textbox(
264
  label="(转化后Tags)\n\n(转化后描述)",
 
268
  # 翻译
269
  with gr.Row():
270
  translate_lang = gr.Dropdown(
271
+ label="翻译语言 Translater",
272
  choices=["English", "Chinese", "Japanese", "French", "German", "Spanish"],
273
  value="English"
274
  )
275
  translated_result = gr.Textbox(
276
+ label="翻译后的结果 Trans-Language Result",
277
  lines=10
278
  )
279