Spaces:
Build error
Build error
Update initialize.py
Browse files34 unmodified lines35363738383940414243444534 unmodified lines generator = HuggingFaceTGIGenerator( model="mistralai/Mistral-7B-Instruct-v0.1", token=Secret.from_token(api_key) token=Secret.from_token(api_key), generation_kwargs = { 'max_new_tokens':100, 'temperature':0.7 } ) generator.warm_up() return retriever, prompt_builder, generatorinitialize.py+5-1