Geraldine commited on
Commit
b7fc734
1 Parent(s): 5d883cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ embeddings = HuggingFaceEmbeddings(
18
  )
19
  model="MBZUAI/LaMini-Flan-T5-248M"
20
  llm = HuggingFaceHub(repo_id=model ,
21
- model_kwargs={"temperature": 0, "max_length": 512}
22
  )
23
  langchain.llm_cache = InMemoryCache()
24
 
@@ -93,4 +93,4 @@ with gr.Blocks() as demo:
93
  cleardb.click(clear_chromadb)
94
 
95
  demo.queue(concurrency_count=3)
96
- demo.launch(debug=True)
 
18
  )
19
  model="MBZUAI/LaMini-Flan-T5-248M"
20
  llm = HuggingFaceHub(repo_id=model ,
21
+ model_kwargs={"temperature": 0}
22
  )
23
  langchain.llm_cache = InMemoryCache()
24
 
 
93
  cleardb.click(clear_chromadb)
94
 
95
  demo.queue(concurrency_count=3)
96
+ demo.launch()