Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
import gradio as gr
|
2 |
|
3 |
pip install langchain[all]
|
4 |
import os
|
5 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "
|
6 |
from langchain import PromptTemplate, HuggingFaceHub, LLMChain
|
7 |
template = """Question: {question}
|
8 |
|
|
|
1 |
+
# import gradio as gr
|
2 |
|
3 |
pip install langchain[all]
|
4 |
import os
|
5 |
+
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "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"
|
6 |
from langchain import PromptTemplate, HuggingFaceHub, LLMChain
|
7 |
template = """Question: {question}
|
8 |
|