Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,12 +6,10 @@ import streamlit as st
|
|
6 |
from langchain_openai import OpenAI
|
7 |
from langchain_huggingface import HuggingFaceEndpoint
|
8 |
|
9 |
-
|
10 |
-
#import os
|
11 |
-
#os.environ["OPENAI_API_KEY"] = "sk-PLfFwPq6y24234234234FJ1Uc234234L8hVowXdt"
|
12 |
|
13 |
import os
|
14 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "
|
15 |
|
16 |
#Function to return the response
|
17 |
def load_answer(question):
|
|
|
6 |
from langchain_openai import OpenAI
|
7 |
from langchain_huggingface import HuggingFaceEndpoint
|
8 |
|
9 |
+
|
|
|
|
|
10 |
|
11 |
import os
|
12 |
+
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "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"
|
13 |
|
14 |
#Function to return the response
|
15 |
def load_answer(question):
|