dlaima commited on
Commit
88c671e
·
verified ·
1 Parent(s): 1aae3a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ class MyAgent:
47
  text = choices[0].get('message', {}).get('content', '')
48
  else:
49
  text = ''
50
- elif isinstance(response, str):
51
  text = response
52
  else:
53
  text = str(response) # fallback
 
47
  text = choices[0].get('message', {}).get('content', '')
48
  else:
49
  text = ''
50
+ elif isinstance(response, str):
51
  text = response
52
  else:
53
  text = str(response) # fallback