OmPrakashSingh1704 commited on
Commit
cab0bfe
1 Parent(s): 253a1e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import streamlit as st
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
- import torch, re, json
4
  from datetime import datetime
5
-
6
 
7
  # Load model and tokenizer
8
  model = AutoModelForCausalLM.from_pretrained(
 
1
  import streamlit as st
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
+ import torch, re, json,huggingface_hub,os
4
  from datetime import datetime
5
+ huggingface_hub.login(token=os.getenv("higgingface_id"))
6
 
7
  # Load model and tokenizer
8
  model = AutoModelForCausalLM.from_pretrained(