#import gradio as gr name="this name" def unicode_escape(s): return "".join(map(lambda c: rf"\u{ord(c):04x}", s)) print(unicode_escape("Hello, World!\n"))