Download app.py from ShynBui/query_bot: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/spaces/ShynBui/query_bot/resolve/main/app.py
- Command line
-
hf download hf://spaces/ShynBui/query_bot/app.py
-
curl -L -o app.py https://huggingface.co/spaces/ShynBui/query_bot/resolve/main/app.py
167 Bytes
| import gradio as gr | |
| from utils import get_answer | |
| if __name__ == "__main__": | |
| demo = gr.Interface(fn=get_answer, inputs="text", outputs="text") | |
| demo.launch() | |