cetusian commited on
Commit
2f91dfe
·
verified ·
1 Parent(s): 6b04ec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
 
 
 
 
 
 
2
 
3
  gr.load("models/meta-llama/Llama-3.1-8B-Instruct").launch()
 
1
  import gradio as gr
2
+ import os
3
+ from huggingface_hub import login
4
+ from transformers import pipeline
5
+
6
+ api_key = os.getenv("LLAMA")
7
+ login(api_key)
8
 
9
  gr.load("models/meta-llama/Llama-3.1-8B-Instruct").launch()