Spaces:
Sleeping
Sleeping
from fastapi import FastAPI | |
from agents import basic_analysis, get_text_post_content | |
app = FastAPI() | |
def handle_basic_analysis(news: dict): | |
return basic_analysis(news) | |
def handle_text_post_content(details: str, reference: str): | |
return get_text_post_content(details, reference) |