tomo2chin2 commited on
Commit
9ac8661
·
verified ·
1 Parent(s): 347bf91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -215,7 +215,7 @@ def load_system_instruction(style="standard"):
215
  """
216
  try:
217
  # 有効なスタイル一覧
218
- valid_styles = ["standard", "cute", "resort", "cool", "dental", "school"]
219
 
220
  # スタイルの検証
221
  if style not in valid_styles:
@@ -931,7 +931,7 @@ with gr.Blocks(title="Full Page Screenshot (テキスト変換対応)", theme=gr
931
  with gr.Column(scale=1):
932
  # スタイル選択ドロップダウン
933
  style_dropdown = gr.Dropdown(
934
- choices=["standard", "cute", "resort", "cool", "dental", "school"],
935
  value="standard",
936
  label="デザインスタイル",
937
  info="テキスト→HTML変換時のデザインテーマを選択します",
@@ -998,7 +998,7 @@ with gr.Blocks(title="Full Page Screenshot (テキスト変換対応)", theme=gr
998
 
999
  ## 設定情報
1000
  - 使用モデル: {gemini_model} (環境変数 GEMINI_MODEL で変更可能)
1001
- - 対応スタイル: standard, cute, resort, cool, dental
1002
  - WebDriverプール最大数: {driver_pool.max_drivers} (環境変数 MAX_WEBDRIVERS で変更可能)
1003
  """)
1004
 
 
215
  """
216
  try:
217
  # 有効なスタイル一覧
218
+ valid_styles = ["standard", "cute", "resort", "cool", "dental", "school", "KOKUGO"]
219
 
220
  # スタイルの検証
221
  if style not in valid_styles:
 
931
  with gr.Column(scale=1):
932
  # スタイル選択ドロップダウン
933
  style_dropdown = gr.Dropdown(
934
+ choices=["standard", "cute", "resort", "cool", "dental", "school", "KOKUGO"],
935
  value="standard",
936
  label="デザインスタイル",
937
  info="テキスト→HTML変換時のデザインテーマを選択します",
 
998
 
999
  ## 設定情報
1000
  - 使用モデル: {gemini_model} (環境変数 GEMINI_MODEL で変更可能)
1001
+ - 対応スタイル: standard, cute, resort, cool, dental, school, KOKUGO
1002
  - WebDriverプール最大数: {driver_pool.max_drivers} (環境変数 MAX_WEBDRIVERS で変更可能)
1003
  """)
1004