Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
·
ac4779d
1
Parent(s):
db627d8
Update app.py
Browse files
app.py
CHANGED
@@ -344,7 +344,7 @@ with proteindream:
|
|
344 |
results = gr.Dataframe(sequencesdf, label="Results", headers=["id","sequence", "length"])
|
345 |
seqChoice = gr.Radio(["sequence 1", "sequence 2", "sequence 3","sequence 4","sequence 5"], label="Choose a sequence")
|
346 |
btn.click(fn=update_protGPT2, inputs=[inp, length], outputs=results)
|
347 |
-
|
348 |
gr.Markdown("## AlphaFold")
|
349 |
gr.Markdown(
|
350 |
"Select a generated sequence above for structure prediction using AlphaFold2."
|
@@ -352,6 +352,7 @@ with proteindream:
|
|
352 |
with gr.Group():
|
353 |
chosenSeq = gr.Textbox(label="Chosen sequence")
|
354 |
btn2 = gr.Button("Predict structure")
|
|
|
355 |
with gr.Group():
|
356 |
meanpLDDT = gr.Textbox(label="Mean pLDDT of chosen sequence")
|
357 |
with gr.Row():
|
|
|
344 |
results = gr.Dataframe(sequencesdf, label="Results", headers=["id","sequence", "length"])
|
345 |
seqChoice = gr.Radio(["sequence 1", "sequence 2", "sequence 3","sequence 4","sequence 5"], label="Choose a sequence")
|
346 |
btn.click(fn=update_protGPT2, inputs=[inp, length], outputs=results)
|
347 |
+
|
348 |
gr.Markdown("## AlphaFold")
|
349 |
gr.Markdown(
|
350 |
"Select a generated sequence above for structure prediction using AlphaFold2."
|
|
|
352 |
with gr.Group():
|
353 |
chosenSeq = gr.Textbox(label="Chosen sequence")
|
354 |
btn2 = gr.Button("Predict structure")
|
355 |
+
seqChoice.change(fn=change_sequence, inputs=seqChoice, outputs=chosenSeq)
|
356 |
with gr.Group():
|
357 |
meanpLDDT = gr.Textbox(label="Mean pLDDT of chosen sequence")
|
358 |
with gr.Row():
|