Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,9 +12,8 @@ from langchain.embeddings import HuggingFaceEmbeddings
|
|
| 12 |
|
| 13 |
os.environ["TOGETHER_API_KEY"] =os.getenv("TOGETHER_API_KEY")
|
| 14 |
|
| 15 |
-
|
| 16 |
def inference(chain, input_query):
|
| 17 |
-
"""Invoke the processing chain with the input query
|
| 18 |
result = chain.invoke(input_query)
|
| 19 |
return result
|
| 20 |
|
|
|
|
| 12 |
|
| 13 |
os.environ["TOGETHER_API_KEY"] =os.getenv("TOGETHER_API_KEY")
|
| 14 |
|
|
|
|
| 15 |
def inference(chain, input_query):
|
| 16 |
+
"""Invoke the processing chain with the input query"""
|
| 17 |
result = chain.invoke(input_query)
|
| 18 |
return result
|
| 19 |
|