Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
import transformers
|
5 |
import gradio as gr
|
6 |
|
7 |
-
access_token = os.environ
|
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(
|