Spaces:
Runtime error
Runtime error
Commit
·
d52bfd5
1
Parent(s):
eb443cd
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
|
4 |
# Specify the directory containing the tokenizer's configuration file (config.json)
|
5 |
-
model_name = "
|
6 |
|
7 |
# Initialize the tokenizer
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name, local_files_only=True)
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
|
4 |
# Specify the directory containing the tokenizer's configuration file (config.json)
|
5 |
+
model_name = "https://huggingface.co/spaces/DR-Rakshitha/wizardlm_api/blob/main/pytorch_model-00001-of-00002.bin"
|
6 |
|
7 |
# Initialize the tokenizer
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name, local_files_only=True)
|