mgreg555 commited on
Commit
4c86df3
·
verified ·
1 Parent(s): 28f8ec9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=OS["acces_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