Spaces:
Build error
Build error
Update app.py
Browse files8 unmodified lines910111213148 unmodified lines# Hugging Face API 정보API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"API_KEY = os.getenv("HUGGINGFACE_API_KEY")# 모델 호출 함수def query_model(prompt):headers = {"Authorization": f"Bearer {API_KEY}"}8 unmodified lines9101112131415168 unmodified lines# Hugging Face API 정보API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"API_KEY = os.getenv("HUGGINGFACE_API_KEY")print(f"Loaded API Key: {API_KEY}") # 확인용# 모델 호출 함수def query_model(prompt):headers = {"Authorization": f"Bearer {API_KEY}"}
app.py+2