Dacho688 commited on
Commit
30970fe
·
unverified ·
1 Parent(s): bfceb30

Update app.py

Browse files

HUGGINGFACEHUB_API_TOKEN to HF_TOKEN

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ from streaming import stream_to_gradio
9
  from huggingface_hub import login
10
  from gradio.data_classes import FileData
11
 
12
- login(os.getenv("HUGGINGFACEHUB_API_TOKEN"))
13
 
14
  llm_engine = HfEngine("meta-llama/Meta-Llama-3.1-70B-Instruct")
15
 
@@ -130,4 +130,4 @@ Drop a `.csv` file below, add notes to describe this data if needed, and **Llama
130
  submit.click(interact_with_agent, [file_input, text_input], [chatbot])
131
 
132
  if __name__ == "__main__":
133
- demo.launch()
 
9
  from huggingface_hub import login
10
  from gradio.data_classes import FileData
11
 
12
+ login(os.getenv("HF_TOKEN"))
13
 
14
  llm_engine = HfEngine("meta-llama/Meta-Llama-3.1-70B-Instruct")
15
 
 
130
  submit.click(interact_with_agent, [file_input, text_input], [chatbot])
131
 
132
  if __name__ == "__main__":
133
+ demo.launch()