tamatwi commited on
Commit
ef82067
1 Parent(s): d0ed598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline, AutoTokenizer
4
  import gradio as gr
5
 
6
  # 日本語モデルを指定
7
- model_name = "rinna/japanese-gpt2-medium"
8
 
9
  # トークナイザーとパイプラインの設定
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, legacy=False)
 
4
  import gradio as gr
5
 
6
  # 日本語モデルを指定
7
+ model_name = "google/gemma-2-9b"
8
 
9
  # トークナイザーとパイプラインの設定
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, legacy=False)