Spaces:
Sleeping
Sleeping
hard-coding the ipaddress
Browse files
app.py
CHANGED
|
@@ -164,7 +164,7 @@ def camera_thread():
|
|
| 164 |
def start_live(ip):
|
| 165 |
global stop_flag, camera_thread_obj, latest_result, latest_frame, ip_url
|
| 166 |
|
| 167 |
-
ip_url =
|
| 168 |
|
| 169 |
# Try to open the connection and handle errors
|
| 170 |
try:
|
|
|
|
| 164 |
def start_live(ip):
|
| 165 |
global stop_flag, camera_thread_obj, latest_result, latest_frame, ip_url
|
| 166 |
|
| 167 |
+
ip_url = "http://192.168.1.4:8080/video" # Construct the full URL with the provided IP
|
| 168 |
|
| 169 |
# Try to open the connection and handle errors
|
| 170 |
try:
|