Spaces:
Runtime error
Runtime error
Update app.py
Browse files60 unmodified lines616263646566676869707160 unmodified linesapi_key='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00'llm = HuggingFaceEndpoint(repo_id="microsoft/Phi-3-mini-4k-instruct",max_new_tokens=512,client=api_key[:-2])chat = ChatHuggingFace(llm=llm, verbose=True)str_output_parser = StrOutputParser()60 unmodified lines616263646566676869707172737460 unmodified linesapi_key='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00'llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-72B-Instruct",task="text-generation",max_new_tokens=512,do_sample=False,repetition_penalty=1.03,)chat_model = ChatHuggingFace(llm=llm)str_output_parser = StrOutputParser()
app.py+6-3