iQuentin commited on
Commit
779088b
·
verified ·
1 Parent(s): 02c129b

Correct run_test return values

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -33,8 +33,10 @@ def run_test( profile: gr.OAuthProfile | None):
33
 
34
  try:
35
  answer = agent("What kind of techno is Kyber, from former lead developer of VLC ?")
 
36
  except Exception as e:
37
  print(f"Error running agent a test run: {e}")
 
38
 
39
 
40
 
 
33
 
34
  try:
35
  answer = agent("What kind of techno is Kyber, from former lead developer of VLC ?")
36
+ return answer, None
37
  except Exception as e:
38
  print(f"Error running agent a test run: {e}")
39
+ return f"Error running agent a test run: {e}", None
40
 
41
 
42