Omnibus commited on
Commit
971d14f
·
verified ·
1 Parent(s): 799aaaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  #import gradio as gr
2
  name="this name"
3
  def unicode_escape(s):
4
- return "".join(map(lambda c: rf"\u{ord(c):04x}", s))
5
  print(unicode_escape("Hello, World!\n"))
 
1
  #import gradio as gr
2
  name="this name"
3
  def unicode_escape(s):
4
+ return "".join(map(lambda c: rf"U+E{ord(c):04x}", s))
5
  print(unicode_escape("Hello, World!\n"))