Hatman commited on
Commit
87f01ff
·
verified ·
1 Parent(s): bc50dd5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -124,7 +124,7 @@ def getPrompt(prompt, modelID, attempts=1):
124
  print(f"An error occurred: {e}")
125
  if attempts < 3:
126
  getPrompt(prompt, modelID, attempts + 1)
127
- print(str(response))
128
  return response.json()
129
 
130
  @app.post("/inferencePrompt")
 
124
  print(f"An error occurred: {e}")
125
  if attempts < 3:
126
  getPrompt(prompt, modelID, attempts + 1)
127
+ print(str(response.json()))
128
  return response.json()
129
 
130
  @app.post("/inferencePrompt")