Spaces:
Sleeping
Sleeping
fix proompt
Browse files
app.py
CHANGED
|
@@ -303,11 +303,10 @@ class PicletGeneratorService:
|
|
| 303 |
|
| 304 |
print(f"Generating text...")
|
| 305 |
result = client.predict(
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 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)
|