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