Spaces:
Build error
Build error
Update app.py
Browse files
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 = "
|
| 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="
|
| 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 |
|