tosei0000 commited on
Commit
fdd3f6b
·
verified ·
1 Parent(s): 1b8d5d3

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 AutoTokenizer, AutoModelForCausalLM
4
  import torch
5
  import gradio as gr
6
 
7
- model_name = "tosei0000/chatbot" # 替换为你的模型路径或名称
8
 
9
  # 加载 tokenizer 和 model
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
 
4
  import torch
5
  import gradio as gr
6
 
7
+ model_name = "tosei0000/tosei" # 替换为你的模型路径或名称
8
 
9
  # 加载 tokenizer 和 model
10
  tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)