Spaces:
Runtime error
Runtime error
Commit
·
8c2c554
1
Parent(s):
d01498c
Update app.py
Browse files
app.py
CHANGED
@@ -341,7 +341,7 @@ with proteindream:
|
|
341 |
length = gr.Number(value=50, label="Target sequence length")
|
342 |
btn = gr.Button("Predict sequences using protGPT2")
|
343 |
|
344 |
-
results = gr.Dataframe(
|
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 |
seqChoice.change(fn=chosenSeq, inputs=seqChoice, outputs=chosenSeq)
|
|
|
341 |
length = gr.Number(value=50, label="Target sequence length")
|
342 |
btn = gr.Button("Predict sequences using protGPT2")
|
343 |
|
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 |
seqChoice.change(fn=chosenSeq, inputs=seqChoice, outputs=chosenSeq)
|