Spaces:
Runtime error
Runtime error
Amirizaniani
commited on
Commit
•
32d3a48
1
Parent(s):
7439f07
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from langchain.chains import LLMChain
|
3 |
from langchain_community.llms import CTransformers
|
4 |
from langchain_core.prompts import PromptTemplate
|
|
|
5 |
|
6 |
|
7 |
def generate_prompts(user_input):
|
|
|
2 |
from langchain.chains import LLMChain
|
3 |
from langchain_community.llms import CTransformers
|
4 |
from langchain_core.prompts import PromptTemplate
|
5 |
+
from sentence_transformers import SentenceTransformer
|
6 |
|
7 |
|
8 |
def generate_prompts(user_input):
|