Spaces:
Running
Running
yinuozhang
commited on
Commit
•
54ac992
1
Parent(s):
4f4356d
add more functions
Browse files
app.py
CHANGED
@@ -574,15 +574,12 @@ iface = gr.Interface(
|
|
574 |
Input: Either enter a SMILES string directly or upload a text file containing SMILES strings
|
575 |
|
576 |
Example SMILES strings:
|
577 |
-
1. CC(C)C[C@@H]1NC(=O)[C@@H](CC(C)C)N(C)C(=O)[C@@H](C)N(C)C(=O)[C@H](Cc2ccccc2)NC(=O)[C@H](CC(C)C)N(C)C(=O)[C@H]2CCCN2C1=O
|
578 |
-
2. C(C)C[C@@H]1NC(=O)[C@@H]2CCCN2C(=O)[C@@H](CC(C)C)NC(=O)[C@@H](CC(C)C)N(C)C(=O)[C@H](C)NC(=O)[C@H](Cc2ccccc2)NC1=O
|
579 |
""",
|
580 |
flagging_mode="never"
|
581 |
)
|
582 |
|
583 |
# Launch the app
|
584 |
if __name__ == "__main__":
|
585 |
-
iface.launch(
|
586 |
-
server_name="0.0.0.0",
|
587 |
-
server_port=7860
|
588 |
-
)
|
|
|
574 |
Input: Either enter a SMILES string directly or upload a text file containing SMILES strings
|
575 |
|
576 |
Example SMILES strings:
|
577 |
+
1. 'CC(C)C[C@@H]1NC(=O)[C@@H](CC(C)C)N(C)C(=O)[C@@H](C)N(C)C(=O)[C@H](Cc2ccccc2)NC(=O)[C@H](CC(C)C)N(C)C(=O)[C@H]2CCCN2C1=O'
|
578 |
+
2. 'C(C)C[C@@H]1NC(=O)[C@@H]2CCCN2C(=O)[C@@H](CC(C)C)NC(=O)[C@@H](CC(C)C)N(C)C(=O)[C@H](C)NC(=O)[C@H](Cc2ccccc2)NC1=O'
|
579 |
""",
|
580 |
flagging_mode="never"
|
581 |
)
|
582 |
|
583 |
# Launch the app
|
584 |
if __name__ == "__main__":
|
585 |
+
iface.launch()
|
|
|
|
|
|