Spaces:
Build error
Build error
Update app.py
Browse files41 unmodified lines42434445464748495024 unmodified lines7576777879808118 unmodified lines10010110210310410510610710810911011111211311411511611711811912012112212312412512612712812941 unmodified lineshistory: list,temperature: float = 0.3,max_new_tokens: int = 1024,top_p: float = 1.0,top_k: int = 20,penalty: float = 1.2,):print(f'message: {message}')print(f'history: {history}')24 unmodified lineschatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)with gr.Blocks(theme="citrus") as demo:gr.HTML(TITLE)gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")gr.ChatInterface(18 unmodified lineslabel="Max new tokens",render=False,),gr.Slider(minimum=0.0,maximum=1.0,step=0.1,value=1.0,label="top_p",render=False,),gr.Slider(minimum=1,maximum=20,step=1,value=20,label="top_k",render=False,),gr.Slider(minimum=0.0,maximum=2.0,step=0.1,value=1.2,label="Repetition penalty",render=False,),],examples=[["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],41 unmodified lines42434445464724 unmodified lines7273747576777818 unmodified lines97989910010110241 unmodified lineshistory: list,temperature: float = 0.3,max_new_tokens: int = 1024,):print(f'message: {message}')print(f'history: {history}')24 unmodified lineschatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)with gr.Blocks(theme="ocean") as demo:gr.HTML(TITLE)gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")gr.ChatInterface(18 unmodified lineslabel="Max new tokens",render=False,),],examples=[["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
app.py+1-28