Spaces:
Runtime error
Runtime error
| 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"], | |
| ], | |
| ) |