Kr08 commited on
Commit
d690585
·
verified ·
1 Parent(s): 6037f2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  import transformers
5
  import gradio as gr
6
 
7
- access_token = os.environ.getattribute("HF_ACCESS_TOKEN")
8
  model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
9
 
10
  pipeline = transformers.pipeline(
 
4
  import transformers
5
  import gradio as gr
6
 
7
+ access_token = os.environ["HF_ACCESS_TOKEN"]
8
  model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
9
 
10
  pipeline = transformers.pipeline(