Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -81,9 +81,9 @@ else:
|
|
81 |
#pipe=pipeline(model=m,tokenizer=t,task="text-generation")
|
82 |
import multiprocessing
|
83 |
|
84 |
-
from langchain.llms import
|
85 |
|
86 |
-
llm =
|
87 |
from langchain.retrievers import WikipediaRetriever as Wiki
|
88 |
import gradio as gr
|
89 |
chatbot = gr.Chatbot(
|
|
|
81 |
#pipe=pipeline(model=m,tokenizer=t,task="text-generation")
|
82 |
import multiprocessing
|
83 |
|
84 |
+
from langchain.llms import GPT4All
|
85 |
|
86 |
+
llm = GPT4All(model=("./llama-3-open-ko-8b-instruct-preview-q5_k_m.gguf"))
|
87 |
from langchain.retrievers import WikipediaRetriever as Wiki
|
88 |
import gradio as gr
|
89 |
chatbot = gr.Chatbot(
|