Spaces:
Sleeping
Sleeping
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
# Step 1: Load the pre-trained model
|
| 5 |
# You can choose any suitable conversational model from the Hugging Face Model Hub
|
| 6 |
-
chatbot = pipeline("conversational", model="
|
| 7 |
|
| 8 |
# Step 2: Define the function that will process user input and return the model's response
|
| 9 |
def respond(input_text):
|
|
|
|
| 3 |
|
| 4 |
# Step 1: Load the pre-trained model
|
| 5 |
# You can choose any suitable conversational model from the Hugging Face Model Hub
|
| 6 |
+
chatbot = pipeline("conversational", model="EleutherAI/gpt-neo-2.7B")
|
| 7 |
|
| 8 |
# Step 2: Define the function that will process user input and return the model's response
|
| 9 |
def respond(input_text):
|