Spaces:
Sleeping
Sleeping
Commit ·
67f9dba
1
Parent(s): f4b8d9c
Update app.py
Browse files10 unmodified lines111213141415161728 unmodified lines46474849495051515253545510 unmodified lines for 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]" 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 prompt
def generate(28 unmodified lines
demo = gr.ChatInterface(fn=generate, chatbot=mychatbot, title="Matteo's Mixtral 8x7b Chat", title="Zucchetti AI", retry_btn=None, undo_btn=None undo_btn=None, theme="gradio/soft" )
demo.queue().launch(show_api=True)app.py+4-3