Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Nigz
/
xai_lstm
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
xai_lstm
/
shared.py
Nigz
Update shared.py
8b3fdc2
verified
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
132 Bytes
# shared.py
import
numpy
as
np
from
project
import
text_test
def
random_idx
():
return
int
(np.random.randint(
0
,
len
(text_test)))