Spaces:
Sleeping
Sleeping
File size: 834 Bytes
fe680f0 a8b681c fe680f0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
import gradio as gr
from agent import run_analysis
# Gradio Interface
with gr.Blocks(theme="soft") as demo:
gr.Markdown("## π§ MarketMind AI: Your Market Intelligence Co-Pilot")
gr.Markdown("Turn Google search data into actionable business insights")
with gr.Row():
analysis_type = gr.Dropdown(
choices=["Competitor Analysis", "Keyword Research", "Trend Discovery", "Idea Validation"],
label="Analysis Type"
)
query_input = gr.Textbox(label="Enter Query (e.g., competitor URL, industry, business idea)")
submit_btn = gr.Button("π Analyze")
output = gr.Markdown(label="Insights")
submit_btn.click(
fn=run_analysis,
inputs=[analysis_type, query_input],
outputs=output
)
if __name__ == "__main__":
demo.launch() |