simonduerr commited on
Commit
dee3f5c
1 Parent(s): 4d3557b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -126,6 +126,13 @@ with gr.Blocks() as blocks:
126
  sampling_steps = gr.Slider(value=200, minimum=0, label="Sampling steps")
127
  diffusion_samples = gr.Slider(value=1, label="Diffusion samples")
128
 
 
 
 
 
 
 
 
129
  btn = gr.Button("predict")
130
 
131
  btn.click(fn=predict, inputs=[jobname,inp, recycling_steps, sampling_steps, diffusion_samples], outputs=[out], api_name="predict")
 
126
  sampling_steps = gr.Slider(value=200, minimum=0, label="Sampling steps")
127
  diffusion_samples = gr.Slider(value=1, label="Diffusion samples")
128
 
129
+ gr.Examples([
130
+ ("TOP7",{"chains": [{"class": "protein","sequence": "MGDIQVQVNIDDNGKNFDYTYTVTTESELQKVLNELMDYIKKQGAKRVRISITARTKKEAEKFAAILIKVFAELGYNDINVTFDGDTVTVEGQLEGGSLEHHHHHH","chain": "A"}], "covMods":[]}),
131
+ ("ApixacabanBinder", {"chains": [{"class": "protein","sequence": "SVKSEYAEAAAVGQEAVAVFNTMKAAFQNGDKEAVAQYLARLASLYTRHEELLNRILEKARREGNKEAVTLMNEFTATFQTGKSIFNAMVAAFKNGDDDSFESYLQALEKVTAKGETLADQIAKAL","chain": "A"}, {"class":"ligand", "smiles":"COc1ccc(cc1)n2c3c(c(n2)C(=O)N)CCN(C3=O)c4ccc(cc4)N5CCCCC5=O", "chain": "A"}], "covMods":[]})
132
+ ],
133
+ inputs = [jobname, inp]
134
+ )
135
+
136
  btn = gr.Button("predict")
137
 
138
  btn.click(fn=predict, inputs=[jobname,inp, recycling_steps, sampling_steps, diffusion_samples], outputs=[out], api_name="predict")