Spaces:
Running
Running
minor
Browse files
app.py
CHANGED
|
@@ -204,7 +204,17 @@ def main() -> None:
|
|
| 204 |
daemon=True
|
| 205 |
).start()
|
| 206 |
|
| 207 |
-
return ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
|
| 210 |
@demo.unload
|
|
|
|
| 204 |
daemon=True
|
| 205 |
).start()
|
| 206 |
|
| 207 |
+
return f"""
|
| 208 |
+
<iframe
|
| 209 |
+
src="{protocol}://{host}/viser/{request.session_hash}/"
|
| 210 |
+
width="100%"
|
| 211 |
+
height="500px"
|
| 212 |
+
frameborder="0"
|
| 213 |
+
style="display: block;"
|
| 214 |
+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
| 215 |
+
loading="lazy"
|
| 216 |
+
></iframe>
|
| 217 |
+
""", "**System Status:** Visualization loaded successfully."
|
| 218 |
|
| 219 |
|
| 220 |
@demo.unload
|