Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1313,7 +1313,16 @@ with gr.Blocks() as interface:
|
|
1313 |
info="Select the type of question you want",
|
1314 |
value="computation"
|
1315 |
)
|
1316 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1317 |
# enhancement checkbox
|
1318 |
use_enhancement = gr.Radio(
|
1319 |
choices=["yes", "no"],
|
@@ -1321,15 +1330,6 @@ with gr.Blocks() as interface:
|
|
1321 |
info="Include relevant textbook examples to guide question generation",
|
1322 |
value="no"
|
1323 |
)
|
1324 |
-
|
1325 |
-
# Add ChatGPT verification toggle
|
1326 |
-
chatgpt_verify = gr.Radio(
|
1327 |
-
choices=["yes", "no"],
|
1328 |
-
label="Include ChatGPT Verification",
|
1329 |
-
info="Enable/disable ChatGPT grading (saves credits)",
|
1330 |
-
value="no" # Default to off to save credits
|
1331 |
-
)
|
1332 |
-
|
1333 |
|
1334 |
generate_btn = gr.Button("Generate Question")
|
1335 |
|
|
|
1313 |
info="Select the type of question you want",
|
1314 |
value="computation"
|
1315 |
)
|
1316 |
+
|
1317 |
+
|
1318 |
+
# Add ChatGPT verification toggle
|
1319 |
+
chatgpt_verify = gr.Radio(
|
1320 |
+
choices=["yes", "no"],
|
1321 |
+
label="Include ChatGPT Verification",
|
1322 |
+
info="Enable/disable ChatGPT grading (disable saves credits)",
|
1323 |
+
value="yes"
|
1324 |
+
)
|
1325 |
+
|
1326 |
# enhancement checkbox
|
1327 |
use_enhancement = gr.Radio(
|
1328 |
choices=["yes", "no"],
|
|
|
1330 |
info="Include relevant textbook examples to guide question generation",
|
1331 |
value="no"
|
1332 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1333 |
|
1334 |
generate_btn = gr.Button("Generate Question")
|
1335 |
|