Dalleon commited on
Commit
1df7b83
1 Parent(s): c64c77b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ def run_interface():
29
  gr_interface_thread = threading.Thread(target=run_interface)
30
  gr_interface_thread.start()
31
 
32
- result_string += "\n[Ready]"
33
 
34
  while True:
35
  url_i = 0
@@ -42,6 +42,6 @@ while True:
42
  result_counter += 1
43
  except Exception as e:
44
  print(f"Error ({url_i}):", str(e))
45
- result_string += f"\[ERROR] {str(e)} ({url})"
46
 
47
  time.sleep(60)
 
29
  gr_interface_thread = threading.Thread(target=run_interface)
30
  gr_interface_thread.start()
31
 
32
+ result_string += "\n[Ready]\n"
33
 
34
  while True:
35
  url_i = 0
 
42
  result_counter += 1
43
  except Exception as e:
44
  print(f"Error ({url_i}):", str(e))
45
+ result_string += f"\[ERROR] {str(e)}\n in ({url})\n"
46
 
47
  time.sleep(60)