Spaces:
Runtime error
Runtime error
Commit
·
e9fd832
1
Parent(s):
d1a0475
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ iface = gr.Interface(
|
|
79 |
fn=heatmap_interface,
|
80 |
inputs=[
|
81 |
gr.Textbox(lines=2, placeholder="Enter Protein Sequence Here..."),
|
82 |
-
gr.Number(label="Start Position",
|
83 |
-
gr.Number(label="End Position")
|
84 |
],
|
85 |
outputs="image",
|
86 |
live=True
|
|
|
79 |
fn=heatmap_interface,
|
80 |
inputs=[
|
81 |
gr.Textbox(lines=2, placeholder="Enter Protein Sequence Here..."),
|
82 |
+
gr.Number(label="Start Position", value=1), # Use 'value' instead of 'default'
|
83 |
+
gr.Number(label="End Position", value=len("MAPLRKTYVLKLYVAGNTPNSVRALKTLNNILEKEFKGVYALKVIDVLKNPQLAEEDKILATPTLAKVLPPPVRRIIGDLSNREKVLIGLDLLYEEIGDQAEDDLGLE")) # Example default end position
|
84 |
],
|
85 |
outputs="image",
|
86 |
live=True
|