Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def fetch_positive_news():
|
|
| 9 |
response = openai.ChatCompletion.create(
|
| 10 |
model="gpt-4o",
|
| 11 |
messages=[
|
| 12 |
-
{"role": "user", "content": "What was a
|
| 13 |
],
|
| 14 |
tools=[{"type": "web_search"}],
|
| 15 |
tool_choice="auto"
|
|
|
|
| 9 |
response = openai.ChatCompletion.create(
|
| 10 |
model="gpt-4o",
|
| 11 |
messages=[
|
| 12 |
+
{"role": "user", "content": "What was a news story related to AI & ML that happened today?"}
|
| 13 |
],
|
| 14 |
tools=[{"type": "web_search"}],
|
| 15 |
tool_choice="auto"
|