Spaces:
Sleeping
Sleeping
Download app.py from rachelmkim/study-interface: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/rachelmkim/study-interface/resolve/main/app.py
- Command line
-
hf download hf://spaces/rachelmkim/study-interface/app.py
-
curl -L -o app.py https://huggingface.co/spaces/rachelmkim/study-interface/resolve/main/app.py
368 Bytes
| from ui.components import create_interface | |
| if __name__ == "__main__": | |
| demo = create_interface() | |
| demo.launch() | |
| # import gradio as gr | |
| # import os | |
| # os.makedirs("/data", exist_ok=True) | |
| # def write_file(text): | |
| # with open("/data/test.txt", "w") as f: | |
| # f.write(text) | |
| # return "File written!" | |
| # gr.Interface(write_file, "text", "text").launch() |