Dorjzodovsuren commited on
Commit
cc7d8e3
1 Parent(s): 66ed7e3

Update app.py

Browse files

fixed incorrect repo naming.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
3
  from transformers import pipeline
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
- tokenizer = AutoTokenizer.from_pretrained("models/Dorjzodovsuren/mongolian-gpt2")
7
- model = AutoModelForCausalLM.from_pretrained("models/Dorjzodovsuren/mongolian-gpt2", from_flax=True)
8
 
9
  generation_params = {
10
  "do_sample": True,
 
3
  from transformers import pipeline
4
  from transformers import AutoTokenizer, AutoModelForCausalLM
5
 
6
+ tokenizer = AutoTokenizer.from_pretrained("Dorjzodovsuren/mongolian-gpt2")
7
+ model = AutoModelForCausalLM.from_pretrained("Dorjzodovsuren/mongolian-gpt2", from_flax=True)
8
 
9
  generation_params = {
10
  "do_sample": True,