update handle py
#16
by ismailhakki37 - opened
30 unmodified lines31323334343536194 unmodified lines23123223323523423523630 unmodified lines KeywordsStoppingCriteria,)
import spacesfrom huggingface_hub import HfApifrom huggingface_hub import loginfrom huggingface_hub import revision_exists194 unmodified lines return {"status": "success", "message": "Message added"}
@spaces.GPUdef generate_response(message_text, image_input, temperature=0.05, top_p=1.0, max_output_tokens=4096): """Generate response for the given message and image""" try:handler.py-2