Update BrainBot.py
Browse files- BrainBot.py +4 -3
BrainBot.py
CHANGED
@@ -3,7 +3,8 @@ import requests
|
|
3 |
import tempfile
|
4 |
import validators
|
5 |
import os
|
6 |
-
from
|
|
|
7 |
|
8 |
# Custom CSS
|
9 |
with open('styles.css') as f:
|
@@ -14,8 +15,8 @@ st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
|
|
14 |
## LOGIN TO HF
|
15 |
## -------------------------------------------------------------------------------------------
|
16 |
# Login to Hugging Face with Access Token
|
17 |
-
access_token =
|
18 |
-
login(token = access_token)
|
19 |
|
20 |
## FUNCTIONS
|
21 |
## -------------------------------------------------------------------------------------------
|
|
|
3 |
import tempfile
|
4 |
import validators
|
5 |
import os
|
6 |
+
# from dotenv
|
7 |
+
# from huggingface_hub import login
|
8 |
|
9 |
# Custom CSS
|
10 |
with open('styles.css') as f:
|
|
|
15 |
## LOGIN TO HF
|
16 |
## -------------------------------------------------------------------------------------------
|
17 |
# Login to Hugging Face with Access Token
|
18 |
+
# access_token =
|
19 |
+
# login(token = access_token)
|
20 |
|
21 |
## FUNCTIONS
|
22 |
## -------------------------------------------------------------------------------------------
|