owenkaplinsky commited on
Commit
599c773
·
verified ·
1 Parent(s): 38e9c5c

Update project/test.py

Browse files
Files changed (1) hide show
  1. project/test.py +0 -4
project/test.py CHANGED
@@ -394,10 +394,6 @@ def build_interface():
394
  openai_key = request.headers.get("x-openai-key") or request.cookies.get("mcp_openai_key")
395
  hf_key = request.headers.get("x-hf-key") or request.cookies.get("mcp_hf_key")
396
 
397
- # TEMPORARY FREE API KEY
398
- if not openai_key:
399
- openai_key = os.getenv("OPENAI_API_KEY")
400
-
401
  result = execute_blockly_logic(inputs, session_id, openai_key=openai_key, hf_key=hf_key)
402
 
403
  # Get output types to determine how to format the result
 
394
  openai_key = request.headers.get("x-openai-key") or request.cookies.get("mcp_openai_key")
395
  hf_key = request.headers.get("x-hf-key") or request.cookies.get("mcp_hf_key")
396
 
 
 
 
 
397
  result = execute_blockly_logic(inputs, session_id, openai_key=openai_key, hf_key=hf_key)
398
 
399
  # Get output types to determine how to format the result