chatbot-LSTM-SMARTID / templates.py
akhfzl
'product-407-1'
f3f3f48
raw
history blame contribute delete
425 Bytes
import gradio as gr
from utils import chatbot as generate_response
demo = gr.Interface(
fn=generate_response,
inputs=[
gr.Textbox(label="Pertanyaan dan keluhan",
placeholder="Berikan pertanyaan/keluhan anda terhadap sistem"),
],
outputs="text",
title="Customer Service AI Smart ID",
description=(
"Pertanyaan dan keluhan anda akan dijawab oleh mas Smarter"
)
)