Download app.py from Percy3822/quiz_model: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/Percy3822/quiz_model/resolve/main/app.py
- Command line
-
hf download hf://Percy3822/quiz_model/app.py
-
curl -L -o app.py https://huggingface.co/Percy3822/quiz_model/resolve/main/app.py
217 Bytes
| import gradio as gr | |
| import os | |
| def start_training(): | |
| os.system("python train.py") | |
| return "Training complete! Check model on Hugging Face." | |
| gr.Interface(fn=start_training, inputs=None, outputs="text").launch() |