Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ def chat(query,history):
|
|
| 90 |
import gradio as gr
|
| 91 |
from huggingface_hub import HfFileSystem
|
| 92 |
|
| 93 |
-
fs = HfFileSystem(token=
|
| 94 |
|
| 95 |
def write_to_file(file_name,content):
|
| 96 |
file_path = f"spaces/mgreg555/docs_chat/" + file_name
|
|
|
|
| 90 |
import gradio as gr
|
| 91 |
from huggingface_hub import HfFileSystem
|
| 92 |
|
| 93 |
+
fs = HfFileSystem(token=os.environ["acces_token"])
|
| 94 |
|
| 95 |
def write_to_file(file_name,content):
|
| 96 |
file_path = f"spaces/mgreg555/docs_chat/" + file_name
|