Spaces:
Build error
Build error
Ganesh Chintalapati commited on
Commit ·
d0652c3
1
Parent(s): a6a8363
fixil
Browse files408 unmodified lines409410411412413414415416417418419408 unmodified linesreturn [], [], []# Define Gradio interfacewith gr.Blocks(theme=gr.themes.Soft(), css=".full-height { height: 100%; display: flex; align-items: stretch; min-height: 40px; } .full-height button { height: 100%; padding: 8px 16px; }") as demo:gr.Markdown("# Multi-Model Chat")gr.Markdown("Chat with OpenAI, Anthropic, or Gemini. Select providers and compare responses side by side!")providers = gr.CheckboxGroup(choices=["OpenAI", "Anthropic", "Gemini"], label="Select Providers", value=["OpenAI"])with gr.Row(elem_classes="full-height"):query = gr.Textbox(label="Enter your query", placeholder="e.g., What is the capital of the United States?", scale=4)408 unmodified lines409410411412413414415416417418419420408 unmodified linesreturn [], [], []# Define Gradio interfacewith gr.Blocks(theme=gr.themes.Soft(), css=".full-height { height: 100%; display: flex; align-items: stretch; min-height: 40px; } .full-height button { height: 100%; padding: 8px 16px; } .providers-row { height: 100%; display: flex; align-items: stretch; min-height: 40px; } .providers-row .checkbox-group { height: 100%; display: flex; align-items: center; }") as demo:gr.Markdown("# Multi-Model Chat")gr.Markdown("Chat with OpenAI, Anthropic, or Gemini. Select providers and compare responses side by side!")with gr.Row(elem_classes="providers-row"):providers = gr.CheckboxGroup(choices=["OpenAI", "Anthropic", "Gemini"], label="Select Providers", value=["OpenAI"], inline=True, elem_classes="checkbox-group")with gr.Row(elem_classes="full-height"):query = gr.Textbox(label="Enter your query", placeholder="e.g., What is the capital of the United States?", scale=4)
app.py+3-2