Spaces:
Sleeping
Sleeping
Download test.py from jk10978/bitmap-simulator: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/jk10978/bitmap-simulator/resolve/main/test.py
- Command line
-
hf download hf://spaces/jk10978/bitmap-simulator/test.py
-
curl -L -o test.py https://huggingface.co/spaces/jk10978/bitmap-simulator/resolve/main/test.py
221 Bytes
| import gradio as gr | |
| def process_files(files): | |
| file_names = [f.name for f in files] | |
| return ",\n".join(file_names) | |
| demo = gr.Interface( | |
| process_files, | |
| inputs='files', | |
| outputs="textbox" | |
| ) | |
| demo.launch() |