Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the model
|
5 |
-
chatbot = pipeline("text-generation", model="
|
6 |
|
7 |
# Define the chat function
|
8 |
def chat_with_ai(prompt):
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the model
|
5 |
+
chatbot = pipeline("text-generation", model="Xenova/gpt-3.5-turbo")
|
6 |
|
7 |
# Define the chat function
|
8 |
def chat_with_ai(prompt):
|