Spaces:
Runtime error
Runtime error
Download app.py from julietarubis/internal-docs-qa: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/spaces/julietarubis/internal-docs-qa/resolve/main/app.py
- Command line
-
hf download hf://spaces/julietarubis/internal-docs-qa/app.py
-
curl -L -o app.py https://huggingface.co/spaces/julietarubis/internal-docs-qa/resolve/main/app.py
252 Bytes
| import gradio as gr | |
| from qa_pipeline import get_answer as answer_question | |
| def qa_interface(question): | |
| return answer_question(question) | |
| iface = gr.Interface(fn=qa_interface, inputs="text", outputs="text", title="Internal Docs Q&A") | |
| iface.launch() | |