Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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(
|
|
|
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()
|