Spaces:
Configuration error
Configuration error
import gradio as gr | |
from geo_engine import get_optimizations | |
def generate_geo_output(keyword): | |
results = get_optimizations(keyword) | |
return results["blog_titles"], results["json_ld"], results["rewritten_prompt"] | |
iface = gr.Interface( | |
fn=generate_geo_output, | |
inputs=gr.Textbox(label="Enter Your Name/Brand/Keyword"), | |
outputs=[ | |
gr.Textbox(label="Catchy Blog Titles"), | |
gr.Textbox(label="JSON-LD Schema"), | |
gr.Textbox(label="AI-SEO Optimized Prompt") | |
], | |
title="GEO Agent - Generative Engine Optimization Tool", | |
description="Boost your LLM visibility with expert-tuned content scoring and optimization." | |
) | |
if __name__ == "__main__": | |
iface.launch() | |