Update webui_with_vnc.py
Browse files- webui_with_vnc.py +4 -2
webui_with_vnc.py
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
import os
|
| 2 |
-
|
| 3 |
-
load_dotenv()
|
| 4 |
import argparse
|
| 5 |
import gradio as gr
|
| 6 |
from src.webui.interface import theme_map, create_ui
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
html="""
|
| 9 |
<div id="vnc-container" style="width:100%;height:800px;border:2px solid #444;border-radius:8px;"></div>
|
| 10 |
<script type="module">
|
|
|
|
| 1 |
import os
|
| 2 |
+
import socket
|
|
|
|
| 3 |
import argparse
|
| 4 |
import gradio as gr
|
| 5 |
from src.webui.interface import theme_map, create_ui
|
| 6 |
|
| 7 |
+
from dotenv import load_dotenv
|
| 8 |
+
load_dotenv()
|
| 9 |
+
|
| 10 |
html="""
|
| 11 |
<div id="vnc-container" style="width:100%;height:800px;border:2px solid #444;border-radius:8px;"></div>
|
| 12 |
<script type="module">
|