File size: 380 Bytes
c36a10c
2727a59
 
c36a10c
2727a59
 
9b06241
2727a59
 
 
 
 
 
 
 
9b06241
2727a59
9b06241
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import evaluate
from evaluate.utils import launch_gradio_widget
import gradio as gr

module = evaluate.load("saicharan2804/molgenevalmetric")
# launch_gradio_widget(module)

iface = gr.Interface(
    fn = module.compute,
    inputs=[
        gr.File(label="Generated SMILES"), 
        gr.File(label="Training Data", value=None),
        ],
    outputs="text"
)

iface.launch()