Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
·
dc63fd7
1
Parent(s):
93e82e3
add f to make fstring and embed svg
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ body, .gradio-container {
|
|
49 |
"""
|
50 |
|
51 |
formatted_upload_svg = '''
|
52 |
-
<div style="display: flex; align-items: center; justify-content: center;">
|
53 |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
54 |
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/>
|
55 |
<path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708z"/>
|
|
|
49 |
"""
|
50 |
|
51 |
formatted_upload_svg = '''
|
52 |
+
f<div style="display: flex; align-items: center; justify-content: center;">
|
53 |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
|
54 |
<path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5"/>
|
55 |
<path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708z"/>
|