MatteoScript commited on
Commit
e638340
·
verified ·
1 Parent(s): 3616396

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -63,7 +63,7 @@ def LoggaTesto(log_type, data, serializza=True):
63
 
64
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
65
  @app.post("/Genera")
66
- async def generate_text(request: Request, input_data: InputData):
67
  if not input_data.asincrono:
68
  LoggaTesto("INPUT", input_data.input, False)
69
  temperature = input_data.temperature
 
63
 
64
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
65
  @app.post("/Genera")
66
+ def generate_text(request: Request, input_data: InputData):
67
  if not input_data.asincrono:
68
  LoggaTesto("INPUT", input_data.input, False)
69
  temperature = input_data.temperature