Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,9 +210,11 @@ function() {
|
|
| 210 |
}
|
| 211 |
"""
|
| 212 |
def prepare_card(im):
|
|
|
|
| 213 |
if not im.startswith("https:"):
|
| 214 |
im = f'https:{im}'
|
| 215 |
out = f"""<body><div><img src={im}></div></body>"""
|
|
|
|
| 216 |
return out
|
| 217 |
|
| 218 |
with gr.Blocks() as app:
|
|
|
|
| 210 |
}
|
| 211 |
"""
|
| 212 |
def prepare_card(im):
|
| 213 |
+
print (im)
|
| 214 |
if not im.startswith("https:"):
|
| 215 |
im = f'https:{im}'
|
| 216 |
out = f"""<body><div><img src={im}></div></body>"""
|
| 217 |
+
print(out)
|
| 218 |
return out
|
| 219 |
|
| 220 |
with gr.Blocks() as app:
|