thehopelessone commited on
Commit
50cc7b4
·
verified ·
1 Parent(s): 0c3468c

hard-coding the ipaddress

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = f"http://{ip}:8080/video" # Construct the full URL with the provided IP
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: