Spaces:
Paused
Paused
Update app.py
Browse files499 unmodified lines500501502503504505506507508509510503504505499 unmodified lines """Implementation of model sending with all providers.""" logging.info("send to model impl commencing...") try: def send_to_model_impl(prompt, model_selection, hf_model_choice, hf_custom_model, hf_api_key, groq_model_choice, groq_api_key, openai_api_key, openai_model_choice, cohere_api_key=None, cohere_model=None, glhf_api_key=None, glhf_model=None, glhf_custom_model=None, use_rate_limits=False): """Implementation of model sending with all providers.""" logging.info("send to model impl commencing...") try: if model_selection == "Clipboard only": # Escape the prompt for JavaScriptapp.py-8