Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|