ask_uscis_aao / app.py
Raghavan1988's picture
bug fix
acbe642
raw
history blame
634 Bytes
import gradio as gr
def greet(query):
return "Hello " + name + "!!"
iface = gr.Interface(
fn=greet,
inputs=[
gr.Textbox(label="query"),
],
outputs=[gr.Markdown(label="Summary")],
title="Welcome to Ask USCIS AAO Bot",
description='''
This is a bot that answers questions about USCIS AAO decisions.
Not affiliated to USCIS in anyway and is not a legal advice.
Prototype to demonstrate the capability of LLMs to answer questions.
LLMs are known to hallucinate. So, please use with caution.
''',
examples=[
["artificial intelligence"],
],
)