Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def enhance_prompt(prompt, system_prompt='You are a prompt enhancer', model="met
|
|
21 |
max_tokens=max_tokens,
|
22 |
stream=stream,
|
23 |
):
|
24 |
-
response += message
|
25 |
|
26 |
return response.strip() # Ensure trailing whitespace is removed
|
27 |
|
|
|
21 |
max_tokens=max_tokens,
|
22 |
stream=stream,
|
23 |
):
|
24 |
+
response += message#.choices[0].delta.content
|
25 |
|
26 |
return response.strip() # Ensure trailing whitespace is removed
|
27 |
|