Spaces:
Runtime error
Runtime error
RaviKarthikeya
commited on
Commit
•
6a29b35
1
Parent(s):
625e1e9
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -3,8 +3,9 @@ import re
|
|
3 |
import requests
|
4 |
import json
|
5 |
import gradio as gr
|
6 |
-
from
|
7 |
-
from langchain import LLMChain
|
|
|
8 |
from langchain.memory import ConversationBufferMemory
|
9 |
|
10 |
OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|
|
|
3 |
import requests
|
4 |
import json
|
5 |
import gradio as gr
|
6 |
+
from langchain_community.chat_models import ChatOpenAI
|
7 |
+
from langchain import LLMChain
|
8 |
+
from langchain import PromptTemplate
|
9 |
from langchain.memory import ConversationBufferMemory
|
10 |
|
11 |
OPENAI_API_KEY=os.getenv('OPENAI_API_KEY')
|