Spaces:
Build error
Build error
Commit ·
67f9dba
1
Parent(s): f4b8d9c
Update app.py
Browse files10 unmodified lines1112131415161728 unmodified lines46474849505152535410 unmodified linesfor user_prompt, bot_response in history:prompt += f"[INST] {user_prompt} [/INST]"prompt += f" {bot_response}</s> "prompt += f"[INST] {message} P.S. Ripondi come se fossi ZucchGTP, l'assitente AI di Zucchetti [/INST]"return promptdef generate(28 unmodified linesdemo = gr.ChatInterface(fn=generate,chatbot=mychatbot,title="Matteo's Mixtral 8x7b Chat",retry_btn=None,undo_btn=None)demo.queue().launch(show_api=True)10 unmodified lines1112131415161728 unmodified lines4647484950515253545510 unmodified linesfor user_prompt, bot_response in history:prompt += f"[INST] {user_prompt} [/INST]"prompt += f" {bot_response}</s> "prompt += f"[INST] {message} P.S. Ripondi come se fossi Zucchetti AI, l'assitente AI di Zucchetti e... inserisci una soluzione alla volta! [/INST]"return promptdef generate(28 unmodified linesdemo = gr.ChatInterface(fn=generate,chatbot=mychatbot,title="Zucchetti AI",retry_btn=None,undo_btn=None,theme="gradio/soft")demo.queue().launch(show_api=True)
app.py+4-3