Aurel1938's picture
Create app.py
b9fe655 verified
Raw
History Blame Contribute Delete
439 Bytes
import gradio as gr
def answer_question(question):
return f"You asked: {question}\n\nThis is the AI Book Sales Analyst powered by Llama 3.3 via n8n."
demo = gr.Interface(
fn=answer_question,
inputs=gr.Textbox(label="Ask a question about book sales"),
outputs=gr.Textbox(label="Answer"),
title="AI Book Sales Analyst",
description="Connected to an n8n workflow using Llama 3.3-70B on HuggingFace."
)
demo.launch()