Spaces:
Paused
Paused
Update app.py
Browse files205 unmodified lines206207208209210211205 unmodified linesdef send_to_model(prompt, model_selection, hf_model_choice, hf_custom_model, hf_api_key,groq_model_choice, groq_api_key, openai_api_key, openai_model_choice):"""Wrapper function for send_to_model_impl with proper error handling."""if not prompt or not prompt.strip():return "Error: No prompt provided", None205 unmodified lines206207208209210211212213214205 unmodified linesdef send_to_model(prompt, model_selection, hf_model_choice, hf_custom_model, hf_api_key,groq_model_choice, groq_api_key, openai_api_key, openai_model_choice):"""Wrapper function for send_to_model_impl with proper error handling."""logging.info("send to model startet..")if not prompt or not prompt.strip():return "Error: No prompt provided", None
app.py+3