Spaces:
Sleeping
Sleeping
Update app.py
Browse files4 unmodified lines56789891011124 unmodified lines# Replace "EleutherAI/gpt-neo-2.7B" with other models like "mosaicml/mpt-7b-chat" or "OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5"generation_pipeline = pipeline( "text-generation", model="EleutherAI/gpt-neo-2.7B", # Replace this with the desired advanced model device=0 # Use GPU if available model="EleutherAI/gpt-neo-2.7B", device=-1 # Use CPU explicitly)
def dental_chatbot_response(message, history):app.py+2-2