tomo2chin2 commited on
Commit
d199bd3
·
verified ·
1 Parent(s): 0683a99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -288,14 +288,14 @@ def load_system_instruction(style="standard"):
288
  指定されたスタイルのシステムインストラクションを読み込む
289
 
290
  Args:
291
- style: 使用するスタイル名 (standard, cute, resort, cool, dental)
292
 
293
  Returns:
294
  読み込まれたシステムインストラクション
295
  """
296
  try:
297
  # 有効なスタイル一覧
298
- valid_styles = ["standard", "cute", "resort", "cool", "dental"]
299
 
300
  # スタイルの検証
301
  if style not in valid_styles:
@@ -1048,7 +1048,7 @@ with gr.Blocks(title="Full Page Screenshot (テキスト変換対応)", theme=gr
1048
  with gr.Column(scale=1):
1049
  # スタイル選択ドロップダウン
1050
  style_dropdown = gr.Dropdown(
1051
- choices=["standard", "cute", "resort", "cool", "dental"],
1052
  value="standard",
1053
  label="デザインスタイル",
1054
  info="テキスト→HTML変換時のデザインテーマを選択します",
 
288
  指定されたスタイルのシステムインストラクションを読み込む
289
 
290
  Args:
291
+ style: 使用するスタイル名 (standard, cute, resort, cool, dental, school)
292
 
293
  Returns:
294
  読み込まれたシステムインストラクション
295
  """
296
  try:
297
  # 有効なスタイル一覧
298
+ valid_styles = ["standard", "cute", "resort", "cool", "dental", "school"]
299
 
300
  # スタイルの検証
301
  if style not in valid_styles:
 
1048
  with gr.Column(scale=1):
1049
  # スタイル選択ドロップダウン
1050
  style_dropdown = gr.Dropdown(
1051
+ choices=["standard", "cute", "resort", "cool", "dental", "school"],
1052
  value="standard",
1053
  label="デザインスタイル",
1054
  info="テキスト→HTML変換時のデザインテーマを選択します",