Spaces:
Sleeping
Sleeping
debug
Browse files
app.py
CHANGED
@@ -1264,27 +1264,27 @@ with gr.Blocks() as demo:
|
|
1264 |
with gr.Column(scale=2):
|
1265 |
# 置入不同模式的 tab
|
1266 |
# 生成有认知层次的评量题目
|
1267 |
-
with gr.
|
1268 |
cognitive_level_content = gr.Textbox(label="輸入學習目標與內容")
|
1269 |
cognitive_level_content_btn = gr.Button("生成評量題目")
|
1270 |
-
with gr.
|
1271 |
literacy_oriented_reading_content = gr.Textbox(label="輸入閱讀材料")
|
1272 |
literacy_oriented_reading_content_btn = gr.Button("生成閱讀理解題")
|
1273 |
-
with gr.
|
1274 |
worksheet_content = gr.Textbox(label="輸入學習單內容")
|
1275 |
worksheet_content_btn = gr.Button("生成學習單")
|
1276 |
-
with gr.
|
1277 |
self_assessment_content = gr.Textbox(label="輸入自評問卷或檢查表")
|
1278 |
self_assessment_content_btn = gr.Button("生成自評問卷")
|
1279 |
-
with gr.
|
1280 |
self_reflection_content = gr.Textbox(label="輸入自我反思活動")
|
1281 |
self_reflection_content_btn = gr.Button("生成自我反思活動")
|
1282 |
-
with gr.
|
1283 |
metacognition_content = gr.Textbox(label="輸入後設認知相關問題")
|
1284 |
metacognition_content_btn = gr.Button("生成後設認知問題")
|
1285 |
with gr.Column(scale=3):
|
1286 |
# 生成對應不同模式的結果
|
1287 |
-
gr.
|
1288 |
|
1289 |
|
1290 |
|
|
|
1264 |
with gr.Column(scale=2):
|
1265 |
# 置入不同模式的 tab
|
1266 |
# 生成有认知层次的评量题目
|
1267 |
+
with gr.Tab("認知階層評量題目"):
|
1268 |
cognitive_level_content = gr.Textbox(label="輸入學習目標與內容")
|
1269 |
cognitive_level_content_btn = gr.Button("生成評量題目")
|
1270 |
+
with gr.Tab("素養導向閱讀題組"):
|
1271 |
literacy_oriented_reading_content = gr.Textbox(label="輸入閱讀材料")
|
1272 |
literacy_oriented_reading_content_btn = gr.Button("生成閱讀理解題")
|
1273 |
+
with gr.Tab("學習單"):
|
1274 |
worksheet_content = gr.Textbox(label="輸入學習單內容")
|
1275 |
worksheet_content_btn = gr.Button("生成學習單")
|
1276 |
+
with gr.Tab("自我評估"):
|
1277 |
self_assessment_content = gr.Textbox(label="輸入自評問卷或檢查表")
|
1278 |
self_assessment_content_btn = gr.Button("生成自評問卷")
|
1279 |
+
with gr.Tab("自我反思評量"):
|
1280 |
self_reflection_content = gr.Textbox(label="輸入自我反思活動")
|
1281 |
self_reflection_content_btn = gr.Button("生成自我反思活動")
|
1282 |
+
with gr.Tab("後設認知"):
|
1283 |
metacognition_content = gr.Textbox(label="輸入後設認知相關問題")
|
1284 |
metacognition_content_btn = gr.Button("生成後設認知問題")
|
1285 |
with gr.Column(scale=3):
|
1286 |
# 生成對應不同模式的結果
|
1287 |
+
exam_result = gr.Textbox("生成結果")
|
1288 |
|
1289 |
|
1290 |
|