Spaces:
Sleeping
Sleeping
Correct run_test return values
Browse files
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 |
|