Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
# Load your text generation model from Hugging Face using its identifier
|
5 |
-
model_identifier = "
|
6 |
model = AutoModelForCausalLM.from_pretrained(model_identifier)
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_identifier)
|
8 |
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
# Load your text generation model from Hugging Face using its identifier
|
5 |
+
model_identifier = "curiouscurrent/omnicode"
|
6 |
model = AutoModelForCausalLM.from_pretrained(model_identifier)
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_identifier)
|
8 |
|