Fraser commited on
Commit
0577310
·
1 Parent(s): 47285c1

fix proompt

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -303,11 +303,10 @@ class PicletGeneratorService:
303
 
304
  print(f"Generating text...")
305
  result = client.predict(
306
- api_name="/chat",
307
- message=prompt,
308
- history=[],
309
- system_prompt="You are a helpful assistant that creates Pokemon-style monster concepts based on real-world objects.",
310
- temperature=0.7
311
  )
312
 
313
  # Extract response text (GPT-OSS formats with Analysis and Response)
 
303
 
304
  print(f"Generating text...")
305
  result = client.predict(
306
+ prompt, # message (positional)
307
+ "You are a helpful assistant that creates Pokemon-style monster concepts based on real-world objects.", # system_prompt (positional)
308
+ 0.7, # temperature (positional)
309
+ api_name="/chat"
 
310
  )
311
 
312
  # Extract response text (GPT-OSS formats with Analysis and Response)