Spaces:
Running
Running
woshixuhao
commited on
Commit
·
41ea5fc
1
Parent(s):
d208d32
Update app.py
Browse files
app.py
CHANGED
@@ -480,7 +480,7 @@ if __name__=='__main__':
|
|
480 |
gr.Interface(fn=predict_single, inputs=["text", "number","number","number","number","number"], outputs='number')
|
481 |
with gr.Tab("Batch prediction"):
|
482 |
gr.Interface(fn=predict_xlsx,description='please upload a .csv file formatted in the form of the example', inputs="file", outputs="file",examples=[os.path.join(os.path.dirname(__file__),"TLC_1.csv")],cache_examples=True)
|
483 |
-
with gr.Tab("Rf compare")
|
484 |
gr.Interface(fn=predict_compare, inputs=["text", "text"], outputs=["image","image","image"],
|
485 |
description='input: smiles of two compounds, such as CC(OCC)=O and CC(C)CCC(NC(C)C)=O\n output: three images that show the Rf curve with different eluent ratios under PE/EA, DCM/MeOH, PE/Et2O system.\n\n')
|
486 |
demo.launch()
|
|
|
480 |
gr.Interface(fn=predict_single, inputs=["text", "number","number","number","number","number"], outputs='number')
|
481 |
with gr.Tab("Batch prediction"):
|
482 |
gr.Interface(fn=predict_xlsx,description='please upload a .csv file formatted in the form of the example', inputs="file", outputs="file",examples=[os.path.join(os.path.dirname(__file__),"TLC_1.csv")],cache_examples=True)
|
483 |
+
with gr.Tab("Rf compare"):
|
484 |
gr.Interface(fn=predict_compare, inputs=["text", "text"], outputs=["image","image","image"],
|
485 |
description='input: smiles of two compounds, such as CC(OCC)=O and CC(C)CCC(NC(C)C)=O\n output: three images that show the Rf curve with different eluent ratios under PE/EA, DCM/MeOH, PE/Et2O system.\n\n')
|
486 |
demo.launch()
|