Download app.py from DetVape/Vape: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/DetVape/Vape/resolve/main/app.py
- Command line
-
hf download hf://spaces/DetVape/Vape/app.py
-
curl -L -o app.py https://huggingface.co/spaces/DetVape/Vape/resolve/main/app.py
469 Bytes
| import gradio as gr | |
| def ask_vape(query): | |
| return f"VAPE: I received your message: {query[:200]}... (Local mode)" | |
| with gr.Blocks(title="VAPE - Private Agent") as demo: | |
| gr.Markdown("# VAPE • Private Mobile Agent") | |
| gr.Markdown("Full control • Local • Growing") | |
| query = gr.Textbox(label="Talk to VAPE or give command") | |
| output = gr.Textbox(label="VAPE Response") | |
| gr.Button("Send").click(ask_vape, inputs=query, outputs=output) | |
| demo.launch() | |