fix: hugginface
This commit is contained in:
parent
fe1db5ab13
commit
d869e11eb6
|
@ -32,8 +32,9 @@ class BaseHFChatProvider(BaseProvider):
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
|
prompt = self.make_prompt(prompt, chat)
|
||||||
output = query({
|
output = query({
|
||||||
"inputs": self.make_prompt(prompt, chat),
|
"inputs": prompt,
|
||||||
})
|
})
|
||||||
|
|
||||||
if 'generated_text' in output:
|
if 'generated_text' in output:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user