File size: 393 Bytes
139b536 117b4f4 139b536 117b4f4 cd995f6 117b4f4 139b536 117b4f4 139b536 117b4f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import streamlit as st
from transformers import pipeline
from datasets import load_dataset
import huggingface_hub as hf
import numpy as np
# Access your space by its name or ID
space = hf.get_space(space_id="puqi/test")
# Access the resource in your space
resource = space.get_resource("scoring_input_small.npy")
# Load the data from the resource
data = np.load(resource)
st.table(data) |