Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from openai import OpenAI
|
3 |
-
|
|
|
4 |
|
5 |
|
6 |
def generate_response(variant, research_paper):
|
|
|
1 |
import streamlit as st
|
2 |
from openai import OpenAI
|
3 |
+
import os
|
4 |
+
client = OpenAI(api_key=os.environ.get('api-key'))
|
5 |
|
6 |
|
7 |
def generate_response(variant, research_paper):
|