Spaces:
Running on Zero
Running on Zero
Download app.py from Mohammad13900/gitcloud-bridge: direct link, hf CLI and curl.
- Browser
- Download file 247 Bytes
-
https://huggingface.co/spaces/Mohammad13900/gitcloud-bridge/resolve/main/app.py
- Command line
-
hf download hf://spaces/Mohammad13900/gitcloud-bridge/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Mohammad13900/gitcloud-bridge/resolve/main/app.py
247 Bytes
| import gradio as gr | |
| import spaces | |
| def download_telegram_file(file_id): | |
| return "Bridge ready: " + file_id | |
| demo = gr.Interface(fn=download_telegram_file, inputs="text", outputs="text") | |
| if __name__ == "__main__": | |
| demo.launch() | |