Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Set up chatbot pipeline (you can change the model)
|
| 5 |
-
chatbot = pipeline("text-generation", model="microsoft/DialoGPT-medium")
|
| 6 |
|
| 7 |
st.title("Simple Chatbot")
|
| 8 |
st.write("Chat with an AI below:")
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Set up chatbot pipeline (you can change the model)
|
| 5 |
+
chatbot = pipeline("text-generation", model="microsoft/DialoGPT-medium", cache_dir="/app/cache")
|
| 6 |
|
| 7 |
st.title("Simple Chatbot")
|
| 8 |
st.write("Chat with an AI below:")
|