CosmoAI commited on
Commit
f6a8248
1 Parent(s): d8d7ef2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def get_conversation_chain(vectorstore):
48
  # tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-base")
49
  # model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-base")
50
 
51
- llm = HuggingFaceHub(repo_id="google/flan-t5-base", huggingfacehub_api_token=hub_token, model_kwargs={"temperature":0.5, "max_length":20})
52
 
53
  memory = ConversationBufferMemory(
54
  memory_key='chat_history', return_messages=True)
 
48
  # tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-base")
49
  # model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-base")
50
 
51
+ llm = HuggingFaceHub(repo_id="ramsrigouthamg/t5_sentence_paraphraser", huggingfacehub_api_token=hub_token, model_kwargs={"temperature":0.5, "max_length":20})
52
 
53
  memory = ConversationBufferMemory(
54
  memory_key='chat_history', return_messages=True)