Spaces:
Runtime error
Runtime error
Commit
·
ca3d0d1
1
Parent(s):
e9fd832
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def heatmap_interface(sequence, start, end):
|
|
| 78 |
iface = gr.Interface(
|
| 79 |
fn=heatmap_interface,
|
| 80 |
inputs=[
|
| 81 |
-
gr.Textbox(lines=2, placeholder="
|
| 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 |
],
|
|
|
|
| 78 |
iface = gr.Interface(
|
| 79 |
fn=heatmap_interface,
|
| 80 |
inputs=[
|
| 81 |
+
gr.Textbox(lines=2, placeholder="MAPLRKTYVLKLYVAGNTPNSVRALKTLNNILEKEFKGVYALKVIDVLKNPQLAEEDKILATPTLAKVLPPPVRRIIGDLSNREKVLIGLDLLYEEIGDQAEDDLGLE"),
|
| 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 |
],
|