WillyCodesInit commited on
Commit
2b1f45e
·
verified ·
1 Parent(s): 0395962

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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:")