Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
•
7b68362
1
Parent(s):
48537c4
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,6 @@ class KeyValueExtractor:
|
|
113 |
return result["output_text"]
|
114 |
|
115 |
def one_day_summary(self,content) -> None:
|
116 |
-
openai.api_key = os.getenv("OPENAI_API_KEY")
|
117 |
|
118 |
# Use OpenAI's Completion API to analyze the text and extract key-value pairs
|
119 |
response = openai.Completion.create(
|
|
|
113 |
return result["output_text"]
|
114 |
|
115 |
def one_day_summary(self,content) -> None:
|
|
|
116 |
|
117 |
# Use OpenAI's Completion API to analyze the text and extract key-value pairs
|
118 |
response = openai.Completion.create(
|