modify app.py
Browse files- app.py +1 -1
- tmp_data/src.txt +1 -1
- tmp_data/tgt.txt +10 -10
app.py
CHANGED
@@ -197,7 +197,7 @@ with gr.Blocks() as interface:
|
|
197 |
|
198 |
with gr.Row(visible=False) as secondary_inputs:
|
199 |
atom1_idx = gr.Number(label="The first atom index", minimum=1)
|
200 |
-
atom2_idx = gr.Number(label="The second atom index", minimum=
|
201 |
operation = gr.Dropdown(choices=["break this bond", "change this bond to single bond", "change this bond to double bond", "change this bond to triple bond"], label="Operation")
|
202 |
submit_operation_button = gr.Button("Submit Operation")
|
203 |
|
|
|
197 |
|
198 |
with gr.Row(visible=False) as secondary_inputs:
|
199 |
atom1_idx = gr.Number(label="The first atom index", minimum=1)
|
200 |
+
atom2_idx = gr.Number(label="The second atom index", minimum=1)
|
201 |
operation = gr.Dropdown(choices=["break this bond", "change this bond to single bond", "change this bond to double bond", "change this bond to triple bond"], label="Operation")
|
202 |
submit_operation_button = gr.Button("Submit Operation")
|
203 |
|
tmp_data/src.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
|
|
1 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1
|
tmp_data/tgt.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
2 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
3 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
4 |
-
N # C C 1 = C C = C (
|
5 |
-
N # C C 1 = C C = C (
|
6 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
7 |
-
N # C C 1 = C C = C ( C ( C ( O ) C C 2 = C C = C ( F ) C = C 2 )
|
8 |
-
N # C C 1 = C C = C (
|
9 |
-
N # C C 1 = C C = C (
|
10 |
-
N # C C 1 = C C = C (
|
|
|
1 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ I : 1 ] > < O [ B : 1 ] O >
|
2 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ B r : 1 ] > < O [ B : 1 ] O >
|
3 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ I : 1 ] > < [ I : 1 ] >
|
4 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ C l : 1 ] > < O [ B : 1 ] O >
|
5 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ C l : 1 ] > < [ I : 1 ] >
|
6 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ B r : 1 ] > < [ I : 1 ] >
|
7 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ I : 1 ] > < [ M g + : 1 ] >
|
8 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ I : 1 ] > < [ B r : 1 ] >
|
9 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ B r : 1 ] > < O [ B : 1 ] C >
|
10 |
+
N # C C 1 = C C = C ( C ( C ( O ) C ! C 2 = C C = C ( F ) C = C 2 ) N 2 C = N C = N 2 ) C = C 1 < [ B r : 1 ] > < O [ B : 1 ] O : 1 >
|