Spaces:
Runtime error
Runtime error
doncamilom
commited on
Commit
•
952fd82
1
Parent(s):
9d7cf6b
fix sample prompts
Browse files
app.py
CHANGED
@@ -85,9 +85,9 @@ def run_prompt(prompt):
|
|
85 |
pre_prompts = [
|
86 |
'How can I synthesize safinamide?',
|
87 |
(
|
88 |
-
'Predict the product of a mixture of Ethylidenecyclohexane and HBr.
|
89 |
-
'predict the same reaction, adding methyl peroxide into the
|
90 |
-
'Compare the two products and explain the reaction mechanism.'
|
91 |
),
|
92 |
(
|
93 |
'What is the boiling point of the reaction product between '
|
@@ -123,7 +123,7 @@ with st.sidebar:
|
|
123 |
on_click=lambda: run_prompt(pre_prompts[0]),
|
124 |
)
|
125 |
st.button(
|
126 |
-
"Explain mechanism of
|
127 |
on_click=lambda: run_prompt(pre_prompts[1]),
|
128 |
)
|
129 |
with cols[1]:
|
|
|
85 |
pre_prompts = [
|
86 |
'How can I synthesize safinamide?',
|
87 |
(
|
88 |
+
'Predict the product of a mixture of Ethylidenecyclohexane and HBr. '
|
89 |
+
'Then predict the same reaction, adding methyl peroxide into the '
|
90 |
+
'mixture. Compare the two products and explain the reaction mechanism.'
|
91 |
),
|
92 |
(
|
93 |
'What is the boiling point of the reaction product between '
|
|
|
123 |
on_click=lambda: run_prompt(pre_prompts[0]),
|
124 |
)
|
125 |
st.button(
|
126 |
+
"Explain mechanism of bromoaddition reaction",
|
127 |
on_click=lambda: run_prompt(pre_prompts[1]),
|
128 |
)
|
129 |
with cols[1]:
|