Spaces:
Sleeping
Sleeping
File size: 368 Bytes
0793785 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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() |