Spaces:
Running
on
L4
Running
on
L4
File size: 455 Bytes
60fae37 85ad568 60fae37 8198e38 60fae37 c04bbc7 60fae37 bbb0e12 8198e38 c04bbc7 60fae37 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
from gradio_molecule3d import Molecule3D
from gradio_cofoldinginput import CofoldingInput
def predict(inputs):
return ""
with gr.Blocks() as blocks:
gr.Markdown("# Boltz-1")
jobname = gr.Textbox(label="Textbox")
inp = CofoldingInput(label="Input")
out = Molecule3D(label="Output")
btn = gr.Button("predict")
btn.click(fn=predict, inputs=[jobname,inp], outputs=[out], api_name="predict")
blocks.launch() |