Spaces:
Runtime error
Runtime error
Update main.py
Browse files55 unmodified lines565758596061626355 unmodified lines#--------------------------------------------------- Generazione TESTO ------------------------------------------------------@app.post("/Genera")def generate_text(request: Request, input_data: InputData):LoggaTesto("INPUT", input_data.input)if not input_data.asincrono:temperature = input_data.temperaturemax_new_tokens = input_data.max_new_tokenstop_p = input_data.top_p55 unmodified lines565758596061626355 unmodified lines#--------------------------------------------------- Generazione TESTO ------------------------------------------------------@app.post("/Genera")def generate_text(request: Request, input_data: InputData):if not input_data.asincrono:LoggaTesto("RICHIESTA SINCRONA", input_data)temperature = input_data.temperaturemax_new_tokens = input_data.max_new_tokenstop_p = input_data.top_p
main.py+1-1