Spaces:
Runtime error
Runtime error
Download app.py from Justin-12138/FSALA: direct link, hf CLI and curl.
- Browser
- Download file 706 Bytes
-
https://huggingface.co/spaces/Justin-12138/FSALA/resolve/main/app.py
- Command line
-
hf download hf://spaces/Justin-12138/FSALA/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Justin-12138/FSALA/resolve/main/app.py
706 Bytes
| import gradio as gr | |
| from src import des, fs | |
| if __name__ == '__main__': | |
| iface = gr.Interface( | |
| fn=fs, | |
| title=des("title"), | |
| description=des("description"), | |
| article=des("article"), | |
| inputs=des("inputs"), | |
| outputs=des("outputs"), | |
| examples=[ | |
| ["example_data.csv", 'MRMR_FCQ', 20, 'RF', "test.csv"], | |
| ["example_data.csv", 'MRMR_FCD', 10, 'SVM', "test.csv"], | |
| ["example_data.csv", 'MRMR_FCD', 30, 'KNN', "test.csv"], | |
| ["example_data.csv", 'Lasso', 30, 'DT', "test.csv"], | |
| ["example_data.csv", 'Lasso', 20, 'Naive Bayes', "test.csv"], | |
| ], | |
| allow_flagging="never" | |
| ) | |
| iface.launch() | |