shigeru saito commited on
Commit
52423e5
·
1 Parent(s): c7fa6ba

例と画像生成AIプロンプトの修正

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. schema.json +2 -3
app.py CHANGED
@@ -262,9 +262,9 @@ def main():
262
 
263
  iface = gr.Interface(fn=NajiminoAI.generate,
264
  examples=[
265
- ["スイカ ラー麺 かき氷 八ツ橋"],
266
- ["サバ お好み焼き"],
267
- ["茹でたアスパラガスに合うソース"],
268
  ],
269
  inputs=gr.Textbox(label=inputs_label),
270
  outputs=[
 
262
 
263
  iface = gr.Interface(fn=NajiminoAI.generate,
264
  examples=[
265
+ ["ラー麺 スイカ かき氷 八ツ橋"],
266
+ ["お好み焼き "],
267
+ ["茹でたアスパラガスに合う季節のソース"],
268
  ],
269
  inputs=gr.Textbox(label=inputs_label),
270
  outputs=[
schema.json CHANGED
@@ -100,12 +100,11 @@
100
  },
101
  "prompt_for_visual_expression_in_en": {
102
  "type": "string",
103
- "default": "",
104
  "title": "Prompt for visual expression in English",
105
  "description": "Prompts for generating a visual representation of the dish in English using AI image generation. The prompt should consist of no more than 20 words.",
106
  "examples": [
107
- "A visually appealing image of the delicious Savory Saba Okonomiyaki dish, capturing the crispy texture and savory flavors.",
108
- "A visually refreshing combination of watermelon Chinese-style noodles and shaved ice topped with Yatsuhashi."
109
  ]
110
  }
111
  }
 
100
  },
101
  "prompt_for_visual_expression_in_en": {
102
  "type": "string",
 
103
  "title": "Prompt for visual expression in English",
104
  "description": "Prompts for generating a visual representation of the dish in English using AI image generation. The prompt should consist of no more than 20 words.",
105
  "examples": [
106
+ "delicious Savory Okonomiyaki dish of mackerel, capturing the crispy texture and savory flavors. topping of okonomiyaki source, Mayonez, katsuobushi and aonori.",
107
+ "Chinese-style noodles combination of watermelon and kakigoori (shaved ices) topped with Yatsuhashi refreshing beautiful"
108
  ]
109
  }
110
  }