Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# pip install -U g4f
|
| 2 |
# pip install PyExecJS
|
| 3 |
# pip install streamlit
|
|
|
|
|
|
|
| 4 |
|
| 5 |
-
import os
|
| 6 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = st.secrets["K1"]
|
| 7 |
|
| 8 |
|
| 9 |
from g4f.cookies import set_cookies
|
|
@@ -20,8 +20,7 @@ set_cookies(".google.com", {
|
|
| 20 |
|
| 21 |
...
|
| 22 |
|
| 23 |
-
|
| 24 |
-
import streamlit as st
|
| 25 |
|
| 26 |
st.title('my chatbot')
|
| 27 |
|
|
|
|
| 1 |
# pip install -U g4f
|
| 2 |
# pip install PyExecJS
|
| 3 |
# pip install streamlit
|
| 4 |
+
import g4f
|
| 5 |
+
import streamlit as st
|
| 6 |
|
|
|
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
from g4f.cookies import set_cookies
|
|
|
|
| 20 |
|
| 21 |
...
|
| 22 |
|
| 23 |
+
|
|
|
|
| 24 |
|
| 25 |
st.title('my chatbot')
|
| 26 |
|