AoEiuV020 commited on
Commit
7ec3982
·
verified ·
1 Parent(s): 916d7eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import random
4
  import gradio as gr
5
 
6
  # Replace with your actual model path
7
- transformers_model_path = "jingyaogong/MiniMind2"
8
 
9
  # Load the tokenizer and model
10
  tokenizer = AutoTokenizer.from_pretrained(transformers_model_path)
@@ -45,7 +45,7 @@ iface = gr.Interface(
45
  fn=predict,
46
  inputs=gr.Textbox(lines=2, placeholder="Enter your text here..."),
47
  outputs="text",
48
- title="MiniMind2 Chatbot",
49
  description="Enter text and see the model's response."
50
  )
51
 
 
4
  import gradio as gr
5
 
6
  # Replace with your actual model path
7
+ transformers_model_path = "AoEiuV020/MiniMind"
8
 
9
  # Load the tokenizer and model
10
  tokenizer = AutoTokenizer.from_pretrained(transformers_model_path)
 
45
  fn=predict,
46
  inputs=gr.Textbox(lines=2, placeholder="Enter your text here..."),
47
  outputs="text",
48
+ title="MiniMind Chatbot",
49
  description="Enter text and see the model's response."
50
  )
51