В моем приложении агент LLM пытается вставить такое изображение:
Код: Выделить всё

Код: Выделить всё
if __name__ == "__main__":
plot_dir = os.path.abspath("plots")
os.makedirs(plot_dir, exist_ok=True)
demo.launch(allowed_paths=[plot_dir])
Подробнее здесь: https://stackoverflow.com/questions/798 ... tinterface
Мобильная версия