dlaima commited on
Commit
1aae3a8
·
verified ·
1 Parent(s): 8045af0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,8 +49,8 @@ class MyAgent:
49
  text = ''
50
  elif isinstance(response, str):
51
  text = response
52
- else:
53
- text = str(response) # fallback
54
 
55
  return extract_final_answer(text)
56
  except Exception as e:
 
49
  text = ''
50
  elif isinstance(response, str):
51
  text = response
52
+ else:
53
+ text = str(response) # fallback
54
 
55
  return extract_final_answer(text)
56
  except Exception as e: