Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,6 @@ def extract_metadata(image):
|
|
24 |
metadata.update(sui_image_params)
|
25 |
else:
|
26 |
metadata = parameters_data
|
27 |
-
elif 'num_inference_steps' in parameters_data:
|
28 |
-
|
29 |
else:
|
30 |
lines = image.info['parameters'].split('\n')
|
31 |
prompt = lines[0].strip()
|
|
|
24 |
metadata.update(sui_image_params)
|
25 |
else:
|
26 |
metadata = parameters_data
|
|
|
|
|
27 |
else:
|
28 |
lines = image.info['parameters'].split('\n')
|
29 |
prompt = lines[0].strip()
|