Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|