Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import transformers
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
generator = pipeline("text-generation", model="TheBloke/
|
6 |
|
7 |
def chatbot(message, history):
|
8 |
result = generator(message, max_length=30, num_return_sequences=1)
|
|
|
2 |
import transformers
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
generator = pipeline("text-generation", model="TheBloke/vicuna-7B-v1.5-GGML")
|
6 |
|
7 |
def chatbot(message, history):
|
8 |
result = generator(message, max_length=30, num_return_sequences=1)
|