study-interface / app.py
Rachel Kim
first commit
0793785
Raw History Blame Contribute Delete
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()