Mbonea commited on
Commit
dd9f06b
·
1 Parent(s): 338b8f2

updated the endpoint

Browse files
Files changed (1) hide show
  1. App/Chat/utils/Summarize.py +3 -2
App/Chat/utils/Summarize.py CHANGED
@@ -103,8 +103,9 @@ async def PalmTextModel(text, candidates=1):
103
  # for candidate in result["candidates"]
104
  # ]
105
  # return temp
106
- temp = result["choices"][0]["message"]["content"]
107
- print('hello ')
 
108
  return temp
109
  else:
110
  print(f"Error: {response.status}\n{await response.text()}")
 
103
  # for candidate in result["candidates"]
104
  # ]
105
  # return temp
106
+ # temp = result["choices"][0]["message"]["content"]
107
+ temp="hello"
108
+ print('lo ')
109
  return temp
110
  else:
111
  print(f"Error: {response.status}\n{await response.text()}")