Spaces:
Sleeping
Sleeping
new app
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
from langchain_openai import OpenAI
|
2 |
-
from dotenv import load_dotenv
|
3 |
import streamlit as st
|
4 |
import os
|
5 |
|
6 |
-
load_dotenv()
|
7 |
|
8 |
def get_openai_response(question):
|
9 |
-
llm = OpenAI(temperature=0.6
|
10 |
response = llm.invoke(question)
|
11 |
return response
|
12 |
|
|
|
1 |
from langchain_openai import OpenAI
|
2 |
+
#from dotenv import load_dotenv
|
3 |
import streamlit as st
|
4 |
import os
|
5 |
|
6 |
+
#load_dotenv()
|
7 |
|
8 |
def get_openai_response(question):
|
9 |
+
llm = OpenAI(temperature=0.6)
|
10 |
response = llm.invoke(question)
|
11 |
return response
|
12 |
|