umairrrkhan commited on
Commit
18be757
·
verified ·
1 Parent(s): bf8e0d3

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 the model and tokenizer from Hugging Face
5
- model_name = "your-username/your-repo-name" # Replace with your actual model repo name
6
  model = AutoModelForCausalLM.from_pretrained(model_name)
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
 
 
2
  from transformers import AutoModelForCausalLM, AutoTokenizer
3
 
4
  # Load the model and tokenizer from Hugging Face
5
+ model_name = "umairrrkhan/english-text-generation" # Replace with your actual model repo name
6
  model = AutoModelForCausalLM.from_pretrained(model_name)
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8