Spaces:
Runtime error
Runtime error
GeemiW commited on
Commit ·
0fea699
1
Parent(s): eb12e82
import time
Browse files- app.py +2 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
import streamlit as st #Web App
|
| 2 |
import os
|
|
|
|
|
|
|
| 3 |
from utils import *
|
| 4 |
|
| 5 |
api_key = ' '
|
|
@@ -37,7 +39,6 @@ if len(api_key) != 51:
|
|
| 37 |
|
| 38 |
pdbid = st.text_input("Input search query here:", placeholder='PDB ID', value= '')
|
| 39 |
pdb_query = PDBQuery(pdbid)
|
| 40 |
-
global citations
|
| 41 |
citations = pdb_query.create_citation()
|
| 42 |
if 'citations' not in st.session_state:
|
| 43 |
st.session_state.key = 'citations'
|
|
|
|
| 1 |
import streamlit as st #Web App
|
| 2 |
import os
|
| 3 |
+
import stqdm
|
| 4 |
+
import time
|
| 5 |
from utils import *
|
| 6 |
|
| 7 |
api_key = ' '
|
|
|
|
| 39 |
|
| 40 |
pdbid = st.text_input("Input search query here:", placeholder='PDB ID', value= '')
|
| 41 |
pdb_query = PDBQuery(pdbid)
|
|
|
|
| 42 |
citations = pdb_query.create_citation()
|
| 43 |
if 'citations' not in st.session_state:
|
| 44 |
st.session_state.key = 'citations'
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
streamlit
|
| 2 |
paper-qa
|
| 3 |
bs4
|
|
|
|
|
|
| 1 |
streamlit
|
| 2 |
paper-qa
|
| 3 |
bs4
|
| 4 |
+
stqdm
|