Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
import torch
|
|
|
|
|
|
|
4 |
|
5 |
# Define the Hugging Face model
|
6 |
model_name = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
|
|
1 |
import gradio as gr
|
2 |
import transformers
|
3 |
import torch
|
4 |
+
from huggingface_hub import login
|
5 |
+
|
6 |
+
login()
|
7 |
|
8 |
# Define the Hugging Face model
|
9 |
model_name = 'meta-llama/Meta-Llama-3-8B-Instruct'
|