MatteoScript commited on
Commit
6f639b3
·
verified ·
1 Parent(s): 2997fee

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -56,8 +56,8 @@ def LoggaTesto(log_type, data):
56
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
57
  @app.post("/Genera")
58
  def generate_text(request: Request, input_data: InputData):
59
- LoggaTesto("INPUT", input_data.input)
60
  if not input_data.asincrono:
 
61
  temperature = input_data.temperature
62
  max_new_tokens = input_data.max_new_tokens
63
  top_p = input_data.top_p
 
56
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
57
  @app.post("/Genera")
58
  def generate_text(request: Request, input_data: InputData):
 
59
  if not input_data.asincrono:
60
+ LoggaTesto("RICHIESTA SINCRONA", input_data)
61
  temperature = input_data.temperature
62
  max_new_tokens = input_data.max_new_tokens
63
  top_p = input_data.top_p