Spaces:
Sleeping
Sleeping
Update app.py
Browse files11 unmodified lines121314151516171821 unmodified lines404142434344454611 unmodified lines return prompt
def generate( prompt, history, system_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, prompt, history, system_prompt, temperature=0.3, max_new_tokens=256, top_p=0.9, repetition_penalty=1.0,): temperature = float(temperature) if temperature < 1e-2:21 unmodified lines return output
mychatbot = gr.Chatbot( avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_share_button=False, show_copy_button=True, likeable=True) avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True)
demo = gr.ChatInterface(fn=generate, chatbot=mychatbot,app.py+2-2