doncamilom commited on
Commit
952fd82
1 Parent(s): 9d7cf6b

fix sample prompts

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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. Then '
89
- 'predict the same reaction, adding methyl peroxide into the mixture. '
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 bromoadition reaction",
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]: