Spaces:
Configuration error
Configuration error
newUpdate
Browse files
app.py
CHANGED
@@ -3,10 +3,7 @@ import gradio as gr
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
from huggingface_hub import login
|
5 |
|
6 |
-
|
7 |
-
model_name = "ayeshaNoor1/Llama_finetunedModel-1b"
|
8 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
9 |
-
model = AutoModelForCausalLM.from_pretrained(model_name)
|
10 |
|
11 |
|
12 |
# Authenticate with the access token
|
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
from huggingface_hub import login
|
5 |
|
6 |
+
|
|
|
|
|
|
|
7 |
|
8 |
|
9 |
# Authenticate with the access token
|