MatteoScript commited on
Commit
f9322eb
·
verified ·
1 Parent(s): edfd92b

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -49,8 +49,8 @@ class PostSpazio(BaseModel):
49
  input: str = ''
50
  api_name: str = "/chat"
51
 
52
- def LoggaTesto(type, text)
53
- print(f"{datetime.now()}: ----------------------------------| {type} |-----------------------------------\n{text}\n\n")
54
 
55
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
56
  @app.post("/Genera")
 
49
  input: str = ''
50
  api_name: str = "/chat"
51
 
52
+ def LoggaTesto(log_type, text):
53
+ print(f"{datetime.now()}: ----------------------------------| {log_type} |-----------------------------------\n{text}\n\n")
54
 
55
  #--------------------------------------------------- Generazione TESTO ------------------------------------------------------
56
  @app.post("/Genera")