AI / app.py
shsplas's picture
Update app.py
8d7623d verified
Raw
History Blame Contribute Delete
303 Bytes
import gradio as gr
from local_jarvis_model import LocalJarvisModel
jarvis = LocalJarvisModel()
def chat(message, history):
return jarvis.reply(message)
demo = gr.ChatInterface(
fn=chat,
title="Jarvis AI",
description="Custom-built AI chatbot"
)
demo.launch(share=True)