Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,9 +56,12 @@ def get_llm_analysis(game_info, market_info):
|
|
| 56 |
Provide your analysis in a structured format with clear recommendations.
|
| 57 |
"""
|
| 58 |
|
| 59 |
-
response = openai.
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
| 62 |
max_tokens=300,
|
| 63 |
n=1,
|
| 64 |
stop=None,
|
|
|
|
| 56 |
Provide your analysis in a structured format with clear recommendations.
|
| 57 |
"""
|
| 58 |
|
| 59 |
+
response = openai.ChatCompletion.create(
|
| 60 |
+
model="gpt-4",
|
| 61 |
+
messages=[
|
| 62 |
+
{"role": "system", "content": "You are an expert in game pricing and market trends."},
|
| 63 |
+
{"role": "user", "content": prompt}
|
| 64 |
+
],
|
| 65 |
max_tokens=300,
|
| 66 |
n=1,
|
| 67 |
stop=None,
|