Rahul-8799 commited on
Commit
2f7103c
·
verified ·
1 Parent(s): 92a523a

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -0
src/streamlit_app.py CHANGED
@@ -2,6 +2,9 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
2
  import streamlit as st
3
  import torch
4
 
 
 
 
5
  st.title("Tokenizer Test Space")
6
 
7
  model_id = "google/gemma-2b-it" # Test with the official model first
 
2
  import streamlit as st
3
  import torch
4
 
5
+ from huggingface_hub import login
6
+ login(token="HF_TOKEN")
7
+
8
  st.title("Tokenizer Test Space")
9
 
10
  model_id = "google/gemma-2b-it" # Test with the official model first