JaphetHernandez commited on
Commit
69e3a41
1 Parent(s): 3929c00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
  import streamlit as st
 
 
3
 
4
  # Token Secret of Hugging Face
5
  huggingface_token = st.secrets["HUGGINGFACEHUB_API_TOKEN"]
 
1
  from transformers import AutoModelForCausalLM, AutoTokenizer
2
  import streamlit as st
3
+ from huggingface_hub import login
4
+
5
 
6
  # Token Secret of Hugging Face
7
  huggingface_token = st.secrets["HUGGINGFACEHUB_API_TOKEN"]