Fabrice-TIERCELIN commited on
Commit
ce5201f
1 Parent(s): 6522853
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -171,7 +171,7 @@ def stage2_process(
171
  if noisy_image is None:
172
  output_format = "png"
173
  else:
174
- output_format = re.sub(r"^.*\.([^\.]+)$", "\1", noisy_image)
175
  print("final output_format: " + str(output_format))
176
 
177
  if prompt is None:
 
171
  if noisy_image is None:
172
  output_format = "png"
173
  else:
174
+ output_format = re.sub(r"^.*\.([^\.]+)$", r"\1", noisy_image)
175
  print("final output_format: " + str(output_format))
176
 
177
  if prompt is None: