Spaces:
Runtime error
Runtime error
Update App_Function_Libraries/LLM_API_Calls.py
Browse files
App_Function_Libraries/LLM_API_Calls.py
CHANGED
|
@@ -724,7 +724,6 @@ def chat_with_openrouter(api_key, input_data, custom_prompt_arg, temp=None, syst
|
|
| 724 |
|
| 725 |
|
| 726 |
def chat_with_huggingface(api_key, input_data, custom_prompt_arg, system_prompt=None, temp=None):
|
| 727 |
-
loaded_config_data = load_and_log_configs()
|
| 728 |
logging.debug(f"huggingface Chat: Chat request process starting...")
|
| 729 |
try:
|
| 730 |
huggingface_api_key = os.getenv('HF_TOKEN')
|
|
|
|
| 724 |
|
| 725 |
|
| 726 |
def chat_with_huggingface(api_key, input_data, custom_prompt_arg, system_prompt=None, temp=None):
|
|
|
|
| 727 |
logging.debug(f"huggingface Chat: Chat request process starting...")
|
| 728 |
try:
|
| 729 |
huggingface_api_key = os.getenv('HF_TOKEN')
|