Spaces:
Build error
Build error
Update app.py
Browse files197 unmodified lines19819920020120220320420520620720820921021121221321421521620 unmodified lines237238239240241242243197 unmodified linesdemo = gr.ChatInterface(respond,additional_inputs=[gr.Dropdown(['Mistral-7B-Instruct-v0.3-Q6_K.gguf','mixtral-8x7b-instruct-v0.1.Q5_K_M.gguf','Meta-Llama-3-8B-Instruct-Q6_K.gguf'],value="Mistral-7B-Instruct-v0.3-Q6_K.gguf",label="Model"),gr.Textbox(value=web_search_system_prompt, label="System message"),gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),gr.Slider(minimum=0.1, maximum=1.0, value=0.45, step=0.1, label="Temperature"),gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),gr.Slider(minimum=0, maximum=100, value=40, step=1, label="Top-k"),gr.Slider(minimum=0.0, maximum=2.0, value=1.1, step=0.1, label="Repetition penalty"),],theme=gr.themes.Soft(20 unmodified linessubmit_btn="Send",cache_examples=False,examples=examples,description="Llama-cpp-agent: Chat with DuckDuckGo Agent",analytics_enabled=False,chatbot=gr.Chatbot(scale=1,197 unmodified lines19819920020120220320420520620720 unmodified lines228229230231232233234197 unmodified linesdemo = gr.ChatInterface(respond,additional_inputs=[gr.Textbox(value=web_search_system_prompt, label="System message"),gr.Slider(minimum=1, maximum=1000, value=1000, step=1, label="Max tokens"),gr.Slider(minimum=0.1, maximum=1.0, value=0.7, step=0.1, label="Temperature"),gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p"),gr.Slider(minimum=0.0, maximum=2.0, value=1.1, step=0.1, label="Repetition penalty"),],theme=gr.themes.Soft(20 unmodified linessubmit_btn="Send",cache_examples=False,examples=examples,description="Mistral-7B: Chat with DuckDuckGo Agent",analytics_enabled=False,chatbot=gr.Chatbot(scale=1,
app.py+3-12