Spaces:
Runtime error
Runtime error
shigeru saito
commited on
Commit
·
639150d
1
Parent(s):
a83d771
プロンプト微調整
Browse files- app.py +1 -1
- schema.json +7 -7
app.py
CHANGED
@@ -262,7 +262,7 @@ def main():
|
|
262 |
|
263 |
iface = gr.Interface(fn=NajiminoAI.generate,
|
264 |
examples=[
|
265 |
-
["スイカ
|
266 |
["サバ お好み焼き"],
|
267 |
["茹でたアスパラガスに合うソース"],
|
268 |
],
|
|
|
262 |
|
263 |
iface = gr.Interface(fn=NajiminoAI.generate,
|
264 |
examples=[
|
265 |
+
["スイカ ラー麺 かき氷 八ツ橋"],
|
266 |
["サバ お好み焼き"],
|
267 |
["茹でたアスパラガスに合うソース"],
|
268 |
],
|
schema.json
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
"description": "The detailed description of the new recipe detailing every aspect including the ingredients, preparation methods, meal types, cuisine style, dietary restrictions, complexity, and culinary traditions.",
|
35 |
"examples": [
|
36 |
"サバを使ったお好み焼きのレシピです。グルテンフリー仕様で作られているので、小麦粉を使わずに作ることができます。",
|
37 |
-
"この爽やかなデザートは、3つの主な要素で構成されています:
|
38 |
]
|
39 |
},
|
40 |
"ingredients": {
|
@@ -44,7 +44,7 @@
|
|
44 |
"description": "Detailed list and measurements of ingredients required for the recipe, including info on type, seasonality, possible allergens, freshness, and quantity, list with '- '.",
|
45 |
"examples": [
|
46 |
"- サバのフィレ 200g\n- 卵 2個\n- キャベツ 1/4個\n- もやし 50g\n- 紅しょうが(刻んだもの) 2片\n- ネギ(小口切り) 適量\n- 酒大さじ2\n- しょうゆ 大さじ2\n- だし汁 100ml\n- 片栗粉 大さじ2\n- サラダ油 お好みで",
|
47 |
-
"- 新鮮なスイカ 1/2個\n-
|
48 |
]
|
49 |
},
|
50 |
"instruction": {
|
@@ -54,7 +54,7 @@
|
|
54 |
"description": "Comprehensive step-by-step cooking instructions for the new recipe, indicating the cooking methods, required tools, cooking temperatures, complexity, and serving sizes.",
|
55 |
"examples": [
|
56 |
"1. キャベツは粗みじん切りにし、もやしは石づきを取っておく。\n2. ボウルに卵を割り入れ、よく混ぜる。酒、しょうゆ、だし汁を加えてさらに混ぜる。\n3. キャベツ、もやし、紅しょうが、ネギを卵液に加え、さらに混ぜる。\n4. サバのフィレを食べやすい大きさに切り、片栗粉をまぶす。\n5. フライパンにサラダ油を熱し、サバを並べ入れる。両面をこんがり焼く。\n6. サバの上に卵液を流し入れ、蓋をして約5分ほど蒸し焼きにする。\n7. ひっくり返して、もう片面も蓋をして約5分ほど蒸し焼きにする。\n8. お好み焼きを取り出し、お好みでソースやマヨネーズをかけて完成です。",
|
57 |
-
"1.まずかき氷を作る。ミキサーや氷削りを使って、好みの固さに氷を作る。\n2.
|
58 |
]
|
59 |
},
|
60 |
"comment_feelings_taste": {
|
@@ -64,7 +64,7 @@
|
|
64 |
"description": "A detailed textual review reflecting the comments and feelings about the taste of the new recipe.",
|
65 |
"examples": [
|
66 |
"このグルテンフリーサバのお好み焼きは、サバの旨味とキャベツの甘みが絶妙にマッチしています。表面はサクサク、中はもちもちとした食感で、一度食べたらやみつきになる美味しさです。",
|
67 |
-
"
|
68 |
]
|
69 |
},
|
70 |
"explanation_to_blind_person": {
|
@@ -80,7 +80,7 @@
|
|
80 |
"description": "Detailed information on the nutritional value, including macronutrients, micronutrients, and caloric content, as well as healthiness and satisfaction levels.",
|
81 |
"examples": [
|
82 |
"このグルテンフリーサバのお好み焼きは、サバのフィレとキャベツを主な材料としています。まず、キャベツを細かく刻んでおきます。次に、卵をボウルに割り入れ、酒、しょうゆ、だし汁と一緒によく混ぜます。その後、刻んだキャベツ、もやし、紅しょうが、ネギを卵液に加えて混ぜます。サバのフィレは食べやすい大きさに切り、片栗粉をまぶしてから焼きます。フライパンにサラダ油を熱し、サバを焼きます。その上に卵液を流し入れ、蓋をして約5分蒸し焼きにします。ひっくり返して、もう片面も蓋をして約5分蒸し焼きにします。最後にお好み焼きを取り出し、ソースやマヨネーズをかけて完成です。",
|
83 |
-
"
|
84 |
]
|
85 |
},
|
86 |
"meal_type": {
|
@@ -95,7 +95,7 @@
|
|
95 |
"description": "The title of the new innovative recipe to be generated.",
|
96 |
"examples": [
|
97 |
"グルテンフリーサバのお好み焼き",
|
98 |
-
"
|
99 |
]
|
100 |
},
|
101 |
"prompt_for_visual_expression_in_en": {
|
@@ -105,7 +105,7 @@
|
|
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
|
109 |
]
|
110 |
}
|
111 |
}
|
|
|
34 |
"description": "The detailed description of the new recipe detailing every aspect including the ingredients, preparation methods, meal types, cuisine style, dietary restrictions, complexity, and culinary traditions.",
|
35 |
"examples": [
|
36 |
"サバを使ったお好み焼きのレシピです。グルテンフリー仕様で作られているので、小麦粉を使わずに作ることができます。",
|
37 |
+
"この爽やかなデザートは、3つの主な要素で構成されています: 新鮮なスイカ、ラー麺、そしてかき氷。 スイカの甘みと香ばしさ、氷の冷たさが混ざり合い、一口ごとに夏のパンチを感じることができる。"
|
38 |
]
|
39 |
},
|
40 |
"ingredients": {
|
|
|
44 |
"description": "Detailed list and measurements of ingredients required for the recipe, including info on type, seasonality, possible allergens, freshness, and quantity, list with '- '.",
|
45 |
"examples": [
|
46 |
"- サバのフィレ 200g\n- 卵 2個\n- キャベツ 1/4個\n- もやし 50g\n- 紅しょうが(刻んだもの) 2片\n- ネギ(小口切り) 適量\n- 酒大さじ2\n- しょうゆ 大さじ2\n- だし汁 100ml\n- 片栗粉 大さじ2\n- サラダ油 お好みで",
|
47 |
+
"- 新鮮なスイカ 1/2個\n- ラー麺200g\n- クラッシュアイス 2カップ\n- 砂糖シロップ1/4カップ\n- レモンの皮 \n- フレッシュミントの葉、飾り用\n"
|
48 |
]
|
49 |
},
|
50 |
"instruction": {
|
|
|
54 |
"description": "Comprehensive step-by-step cooking instructions for the new recipe, indicating the cooking methods, required tools, cooking temperatures, complexity, and serving sizes.",
|
55 |
"examples": [
|
56 |
"1. キャベツは粗みじん切りにし、もやしは石づきを取っておく。\n2. ボウルに卵を割り入れ、よく混ぜる。酒、しょうゆ、だし汁を加えてさらに混ぜる。\n3. キャベツ、もやし、紅しょうが、ネギを卵液に加え、さらに混ぜる。\n4. サバのフィレを食べやすい大きさに切り、片栗粉をまぶす。\n5. フライパンにサラダ油を熱し、サバを並べ入れる。両面をこんがり焼く。\n6. サバの上に卵液を流し入れ、蓋をして約5分ほど蒸し焼きにする。\n7. ひっくり返して、もう片面も蓋をして約5分ほど蒸し焼きにする。\n8. お好み焼きを取り出し、お好みでソースやマヨネーズをかけて完成です。",
|
57 |
+
"1.まずかき氷を作る。ミキサーや氷削りを使って、好みの固さに氷を作る。\n2. 沸騰した鍋にラー麺を入れ、袋の表示通りに茹でる。水気を切り、氷水で冷やして麺の茹で上がりを止める。\n3. スイカを半分に切り、果肉をすくい取る。ブレンダーかフードプロセッサーで果肉をピューレ状にする。\n4. 4.ラー麺とスイカのミックス:先ほど作ったスイカの器に冷やした麺を入れ、ピューレ状にしたスイカの果汁を注ぎ、かき氷を山盛りにのせる。\n5. かき氷にシュガーシロップをかけ、レモンの皮をすりおろす。\n6. ミントの葉を飾り、すぐにサービスする。"
|
58 |
]
|
59 |
},
|
60 |
"comment_feelings_taste": {
|
|
|
64 |
"description": "A detailed textual review reflecting the comments and feelings about the taste of the new recipe.",
|
65 |
"examples": [
|
66 |
"このグルテンフリーサバのお好み焼きは、サバの旨味とキャベツの甘みが絶妙にマッチしています。表面はサクサク、中はもちもちとした食感で、一度食べたらやみつきになる美味しさです。",
|
67 |
+
"このレシピは本当に美味しい。ラー麺と新鮮で甘いスイカを混ぜ合わせることで、伝統的なかき氷にユニークなアレンジを加えている。枕のようなラー麺が甘いスイカの果汁と砂糖シロップを吸い込み、ひとさじごとに驚くほど味に深みが出る。レモンの皮の酸味が全体のバランスを整え、氷のように冷たいかき氷が全体をまとめ、夏のデザートを楽しませてくれる。"
|
68 |
]
|
69 |
},
|
70 |
"explanation_to_blind_person": {
|
|
|
80 |
"description": "Detailed information on the nutritional value, including macronutrients, micronutrients, and caloric content, as well as healthiness and satisfaction levels.",
|
81 |
"examples": [
|
82 |
"このグルテンフリーサバのお好み焼きは、サバのフィレとキャベツを主な材料としています。まず、キャベツを細かく刻んでおきます。次に、卵をボウルに割り入れ、酒、しょうゆ、だし汁と一緒によく混ぜます。その後、刻んだキャベツ、もやし、紅しょうが、ネギを卵液に加えて混ぜます。サバのフィレは食べやすい大きさに切り、片栗粉をまぶしてから焼きます。フライパンにサラダ油を熱し、サバを焼きます。その上に卵液を流し入れ、蓋をして約5分蒸し焼きにします。ひっくり返して、もう片面も蓋をして約5分蒸し焼きにします。最後にお好み焼きを取り出し、ソースやマヨネーズをかけて完成です。",
|
83 |
+
"五感に訴える料理を想像してほしい。スイカの半分をくりぬいたものが手の下にあり、冷たくてなめらかである。その中に完璧に冷やされたラー麺が入っている。柔らかくて心地よい食感が、スイカのさっぱりとした新鮮な味と対照的だ。そして、氷のようなかき氷の層。かき氷を入れると、氷がパチパチとやわらかく音を立て、温度のコントラストと夏の雪が降っているような不思議な感覚を与えてくれる。その上に砂糖シロップとレモンの皮が散らされる。一口食べるごとに、氷の歯ごたえ、麺の柔らかさ、スイカの意外な甘さが感じられる。この味と食感のユニークなシンフォニーをスプーンで持ち上げると、爽やかなミントの香りが残り、夏の涼しい風を思い起こさせる。"
|
84 |
]
|
85 |
},
|
86 |
"meal_type": {
|
|
|
95 |
"description": "The title of the new innovative recipe to be generated.",
|
96 |
"examples": [
|
97 |
"グルテンフリーサバのお好み焼き",
|
98 |
+
"スイカラー麺かき氷"
|
99 |
]
|
100 |
},
|
101 |
"prompt_for_visual_expression_in_en": {
|
|
|
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 |
}
|