magicfixeseverything commited on
Commit
5eb7b84
1 Parent(s): 1dd9da5

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -552,7 +552,7 @@ which_output_type_before_refiner_and_upscaler = "latent"
552
  import os
553
 
554
  try:
555
- if (os.uname().find("magicfixeseverything") >= 0):
556
  script_being_run_on_hugging_face = 1
557
  except:
558
  script_being_run_on_hugging_face = 0
 
552
  import os
553
 
554
  try:
555
+ if (str(os.uname()).find("magicfixeseverything") >= 0):
556
  script_being_run_on_hugging_face = 1
557
  except:
558
  script_being_run_on_hugging_face = 0