File size: 575 Bytes
1564d5f
acbe642
54d667e
1564d5f
d3cdb67
acbe642
d3cdb67
acbe642
d3cdb67
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr
def greet(query):
    return "Hello " + query + "!!"

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.
            ''',
)