Spaces:
Running
Running
Update prompts.py
Browse files- prompts.py +3 -3
prompts.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
-
from
|
4 |
-
from
|
5 |
-
from
|
6 |
|
7 |
# Initialize Hugging Face API
|
8 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_DDqJJHHhhjGGjjHUYTRewsRRFFGhjkKJHgfr"
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
from langchain_core.prompts import PromptTemplate
|
4 |
+
from langchain_core.runnables import RunnableSequence
|
5 |
+
from langchain_huggingface import HuggingFaceEndpoint
|
6 |
|
7 |
# Initialize Hugging Face API
|
8 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_DDqJJHHhhjGGjjHUYTRewsRRFFGhjkKJHgfr"
|