curiouscurrent commited on
Commit
04f9da1
·
verified ·
1 Parent(s): 4c7dd76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "your-model-name-on-hugging-face"
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