Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import os, getpass
|
|
3 |
from langchain_openai import ChatOpenAI
|
4 |
from langchain_core.messages import HumanMessage
|
5 |
import gradio as gr
|
|
|
6 |
|
7 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
8 |
# Define the language model
|
|
|
3 |
from langchain_openai import ChatOpenAI
|
4 |
from langchain_core.messages import HumanMessage
|
5 |
import gradio as gr
|
6 |
+
import openai
|
7 |
|
8 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
9 |
# Define the language model
|