Fix chat template
#57
by
alexmarques
- opened
Chat template still has an issue. It checks if messages[0] is string
then assigns system_message = messages[0]['content']
. It should check messages[0]['content'] is string
instead.
This PR fixes that and simplifies a bit the conditional logic (in an equivalent way)
Thanks!
patrickvonplaten
changed pull request status to
merged
Scene 1: जंगल का परिचय
Top: "भूखी लोमड़ी जंगल में!"
Image: लोमड़ी अकेली जंगल में घूम रही है।
Bottom Text: "लोमड़ी को बहुत ज़ोरों की भूख लगी थी।"