JustKiddo commited on
Commit
7b473e5
·
verified ·
1 Parent(s): 55e2485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,5 +1,10 @@
1
  import streamlit as st
 
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
 
 
 
 
3
  import torch
4
 
5
  class VietnameseChatbot:
 
1
  import streamlit as st
2
+ import os
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
+ from huggingface_hub import login
5
+
6
+ login(token=os.environ['HF_TOKEN'])
7
+
8
  import torch
9
 
10
  class VietnameseChatbot: