MSey90 commited on
Commit
3c264e5
·
unverified ·
1 Parent(s): a0c78aa

test token

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,10 +3,10 @@ import streamlit as st
3
 
4
  # Access the secret token
5
  hf_token = st.secrets["default"]["hf_token"]
6
-
7
  @st.cache_resource
8
  def load_model():
9
- return pipeline("text-generation", model="MSey/tiny_CaLL_r10_O1_f10_LT_c1022", use_auth_token =hf_token)
10
 
11
  model = load_model()
12
 
 
3
 
4
  # Access the secret token
5
  hf_token = st.secrets["default"]["hf_token"]
6
+ st.write(hf_token)
7
  @st.cache_resource
8
  def load_model():
9
+ return pipeline("text-generation", model="MSey/tiny_CaLL_r10_O1_f10_LT_c1022")
10
 
11
  model = load_model()
12