Spaces:
Sleeping
Sleeping
Update main.py
Browse files73 unmodified lines7475767777787973 unmodified lines top_p = input_data.top_p repetition_penalty = input_data.repetition_penalty input_text = generate_input_text(input_data) max_new_tokens = min(max_new_tokens, 29500 - len(input_text)) history = [] generated_response = generate(input_text, history, temperature, max_new_tokens, top_p, repetition_penalty) if input_data.telegramChatId != '' and input_data.telegramUrlBot != '' and input_data.telegramUrlPost != '': main.py-1