Update webui_with_vnc.py
Browse files- webui_with_vnc.py +1 -1
webui_with_vnc.py
CHANGED
|
@@ -84,7 +84,7 @@ def main():
|
|
| 84 |
response = os.popen('curl -s http://127.0.0.1:6080/vnc.html').read()
|
| 85 |
print("##### Curl Response ",response)
|
| 86 |
# The iframe must point to the actual noVNC server (default: localhost:6080/vnc.html)
|
| 87 |
-
gr.HTML('<iframe src="http://0.0.0.0:6080/vnc.html" width="100%" height="800" style="border:
|
| 88 |
|
| 89 |
demo.queue().launch(server_name=args.ip, server_port=args.port)
|
| 90 |
|
|
|
|
| 84 |
response = os.popen('curl -s http://127.0.0.1:6080/vnc.html').read()
|
| 85 |
print("##### Curl Response ",response)
|
| 86 |
# The iframe must point to the actual noVNC server (default: localhost:6080/vnc.html)
|
| 87 |
+
gr.HTML(f'<p>{response}</p><iframe src="http://0.0.0.0:6080/vnc.html" width="100%" height="800" style="border:1px solid red;"></iframe>')
|
| 88 |
|
| 89 |
demo.queue().launch(server_name=args.ip, server_port=args.port)
|
| 90 |
|