bstraehle Devin commited on
Commit
667ef3a
·
1 Parent(s): 943752f

Temporarily log the full output to capture a new example

Browse files

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -40,6 +40,8 @@ async def invoke(openai_api_key: str, task: str) -> str:
40
 
41
  if not result:
42
  raise gr.Error("The model returned no output.")
 
 
43
  return result
44
 
45
 
 
40
 
41
  if not result:
42
  raise gr.Error("The model returned no output.")
43
+
44
+ logger.info("Output for %r:\n=== BEGIN OUTPUT ===\n%s\n=== END OUTPUT ===", task, result)
45
  return result
46
 
47