import gradio as gr import os TMP_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), "tmp") os.makedirs(TMP_ROOT, exist_ok=True)