Spaces:
Runtime error
Runtime error
Update app.py
Browse files203 unmodified lines204205206207207208209210211212213214215216217218219220221222223224225226227228229212213214215203 unmodified lines gr.Dropdown(choices=MODELS, label="Select Model", value=MODELS[2]), gr.Slider(minimum=0.1, maximum=1.0, value=0.2, step=0.1, label="Temperature"), gr.Slider(minimum=1, maximum=5, value=1, step=1, label="Number of API Calls"), gr.Checkbox(label="Use Embeddings", value=True), gr.Checkbox(label="Use Embeddings", value=False), gr.Textbox(label="System Prompt", lines=5, value=DEFAULT_SYSTEM_PROMPT), ], title="AI-powered Web Search Assistant", description="Ask questions and get answers from web search results.", theme=gr.themes.Soft( primary_hue="orange", secondary_hue="amber", neutral_hue="gray", font=[gr.themes.GoogleFont("Exo"), "ui-sans-serif", "system-ui", "sans-serif"] ).set( body_background_fill_dark="#0c0505", block_background_fill_dark="#0c0505", block_border_width="1px", block_title_background_fill_dark="#1b0f0f", input_background_fill_dark="#140b0b", button_secondary_background_fill_dark="#140b0b", border_color_accent_dark="#1b0f0f", border_color_primary_dark="#1b0f0f", background_fill_secondary_dark="#0c0505", color_accent_soft_dark="transparent", code_background_fill_dark="#140b0b" ), theme=gr.Theme.from_hub("allenai/gradio-theme"), css=css, examples=[ ["What are the latest developments in artificial intelligence?"],app.py+2-19