YaserDS-777 commited on
Commit
7696cf8
1 Parent(s): a709339

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,5 +1,8 @@
 
 
1
  import gradio as gr
2
  from transformers import pipeline
 
3
 
4
  # Initialize the text generation pipeline
5
  pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-405B")
 
1
+ import os
2
+
3
  import gradio as gr
4
  from transformers import pipeline
5
+ HF_TOKEN = os.environ.get("llama3", None)
6
 
7
  # Initialize the text generation pipeline
8
  pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-405B")