Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ import streamlit as st
|
|
9 |
|
10 |
#New import from langchain, which replaces the above
|
11 |
#from langchain_openai import OpenAI
|
12 |
-
from langchain.llms import HuggingFaceEndpoint
|
|
|
13 |
|
14 |
#When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
|
15 |
#import os
|
|
|
9 |
|
10 |
#New import from langchain, which replaces the above
|
11 |
#from langchain_openai import OpenAI
|
12 |
+
#from langchain.llms import HuggingFaceEndpoint
|
13 |
+
from langchain_community.llms import HuggingFaceEndpoint
|
14 |
|
15 |
#When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
|
16 |
#import os
|