Spaces:
Runtime error
Runtime error
update api key
Browse files23 unmodified lines2425262728293023 unmodified linesdef __init__(self):print("BasicAgent initialized.")model_id = os.getenv("HF_API_URL", "Qwen/Qwen2.5-7B-Instruct")token = os.getenv("HF_TOKEN")self.llm = InferenceClient(model=model_id, token=token)def _maybe_fetch_file(self, task_id: str):23 unmodified lines2425262728293023 unmodified linesdef __init__(self):print("BasicAgent initialized.")model_id = os.getenv("HF_API_URL", "Qwen/Qwen2.5-7B-Instruct")token = os.getenv("HF_TOKEN") or os.getenv("HUGGINGFACEHUB_API_TOKEN")self.llm = InferenceClient(model=model_id, token=token)def _maybe_fetch_file(self, task_id: str):
app.py+1-1