MatteoScript commited on
Commit
5d649f5
·
verified ·
1 Parent(s): b679195

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -76,7 +76,7 @@ def generate_text(request: Request, input_data: InputData):
76
  history = []
77
  generated_response = generate(input_text, history, temperature, max_new_tokens, top_p, repetition_penalty)
78
  RispostaJSON = NormalizzaJSON(generated_response)
79
- LoggaTesto("RISPOSTA", RispostaJSON})
80
  return RispostaJSON
81
  else:
82
  input_data.asincrono = False
 
76
  history = []
77
  generated_response = generate(input_text, history, temperature, max_new_tokens, top_p, repetition_penalty)
78
  RispostaJSON = NormalizzaJSON(generated_response)
79
+ LoggaTesto("RISPOSTA", RispostaJSON)
80
  return RispostaJSON
81
  else:
82
  input_data.asincrono = False