Spaces:
Sleeping
Sleeping
Update app.py
#2
by
elentsing
- opened
app.py
CHANGED
|
@@ -391,12 +391,7 @@ def create_demo(model_manager: ModelManager):
|
|
| 391 |
|
| 392 |
# Preset example questions
|
| 393 |
EXAMPLE_QUESTIONS = {
|
| 394 |
-
"example1": """
|
| 395 |
-
|
| 396 |
-
A. Why the act of destroying nature might be immoral.
|
| 397 |
-
B. Why people who destroy the environment might be bad people.
|
| 398 |
-
C. How the decision to preserve the environment benefits the environment.
|
| 399 |
-
D. Whether plants have interests.""",
|
| 400 |
"example2": """Why is the Mars Exploration Rover Spirit currently tilted towards the north?
|
| 401 |
|
| 402 |
A. Because itβs climbing up a big hill.
|
|
@@ -468,7 +463,7 @@ D. Because one of its wheels broke."""
|
|
| 468 |
# Preset question examples
|
| 469 |
gr.Markdown("Example Questions:")
|
| 470 |
with gr.Row():
|
| 471 |
-
example1_btn = gr.Button("π Example 1:
|
| 472 |
example2_btn = gr.Button("π Example 2: Astronomy", size="sm")
|
| 473 |
|
| 474 |
|
|
|
|
| 391 |
|
| 392 |
# Preset example questions
|
| 393 |
EXAMPLE_QUESTIONS = {
|
| 394 |
+
"example1": """Mix 500g of salt water with a concentration of 20% and 300g of salt water with a concentration of 10%. Find the concentration of the mixed salt water (keep one decimal place before the percentage sign).""",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 395 |
"example2": """Why is the Mars Exploration Rover Spirit currently tilted towards the north?
|
| 396 |
|
| 397 |
A. Because itβs climbing up a big hill.
|
|
|
|
| 463 |
# Preset question examples
|
| 464 |
gr.Markdown("Example Questions:")
|
| 465 |
with gr.Row():
|
| 466 |
+
example1_btn = gr.Button("π Example 1: Concentration Calculation", size="sm")
|
| 467 |
example2_btn = gr.Button("π Example 2: Astronomy", size="sm")
|
| 468 |
|
| 469 |
|