Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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"))
|