Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,8 @@ def plot_interactive(uniprot_id):
|
|
| 51 |
|
| 52 |
return fig
|
| 53 |
|
| 54 |
-
|
|
|
|
| 55 |
|
| 56 |
fig = plot_interactive(uid)
|
| 57 |
fig.update_layout(width = 800, height = 600, autosize = False)
|
|
|
|
| 51 |
|
| 52 |
return fig
|
| 53 |
|
| 54 |
+
selection = st.selectbox("uniprot_id:", df)
|
| 55 |
+
uid=df[df.txt==selection].index.values[0]
|
| 56 |
|
| 57 |
fig = plot_interactive(uid)
|
| 58 |
fig.update_layout(width = 800, height = 600, autosize = False)
|