Spaces:
Running
Running
mcnaughtonadm
commited on
Commit
•
bfb9104
1
Parent(s):
6f48f60
Update app.py
Browse files
app.py
CHANGED
@@ -62,14 +62,12 @@ with gr.Blocks(title=TITLE) as iface:
|
|
62 |
lines=2, placeholder="Enter your cheminformatics question..."
|
63 |
)
|
64 |
|
65 |
-
|
66 |
-
submit_button = gr.Button("Submit", variant="primary")
|
67 |
-
|
68 |
with gr.Row(): # Row for sample questions
|
69 |
sample_questions = [
|
70 |
"What is the molecular weight of the SMILES: CCO ?",
|
71 |
"Does the SMILES: C1CCOC1 , trigger the PAINS filter?",
|
72 |
-
"
|
73 |
]
|
74 |
for question in sample_questions:
|
75 |
gr.Button(question).click(
|
@@ -78,6 +76,9 @@ with gr.Blocks(title=TITLE) as iface:
|
|
78 |
prompt_input,
|
79 |
)
|
80 |
|
|
|
|
|
|
|
81 |
response_output = gr.Textbox(label="Agent Response")
|
82 |
|
83 |
gr.Markdown(CITE)
|
|
|
62 |
lines=2, placeholder="Enter your cheminformatics question..."
|
63 |
)
|
64 |
|
65 |
+
|
|
|
|
|
66 |
with gr.Row(): # Row for sample questions
|
67 |
sample_questions = [
|
68 |
"What is the molecular weight of the SMILES: CCO ?",
|
69 |
"Does the SMILES: C1CCOC1 , trigger the PAINS filter?",
|
70 |
+
"Identify the molecular weight, logP, and Topological Polar Surface Area (TPSA) of the molecule with the SMILES notation CC(=O)NC1=CC=C(O)C=C1",
|
71 |
]
|
72 |
for question in sample_questions:
|
73 |
gr.Button(question).click(
|
|
|
76 |
prompt_input,
|
77 |
)
|
78 |
|
79 |
+
with gr.Row():
|
80 |
+
submit_button = gr.Button("Submit", variant="primary")
|
81 |
+
|
82 |
response_output = gr.Textbox(label="Agent Response")
|
83 |
|
84 |
gr.Markdown(CITE)
|