Spaces:
Sleeping
Sleeping
Subha Nawer Pushpita
commited on
Commit
·
ae41b14
1
Parent(s):
d06c69f
indentation issue
Browse files
app.py
CHANGED
|
@@ -414,7 +414,7 @@ def quin_macluskey(n_var,minterms, dictionary):
|
|
| 414 |
return result
|
| 415 |
|
| 416 |
#This part shortens boolean formulas even more than the last step, applicable only in the context of image prediction boolean formulas
|
| 417 |
-
|
| 418 |
model.eval()
|
| 419 |
res_image = res_image[:,:,::-1]
|
| 420 |
img = Image.fromarray(res_image)
|
|
|
|
| 414 |
return result
|
| 415 |
|
| 416 |
#This part shortens boolean formulas even more than the last step, applicable only in the context of image prediction boolean formulas
|
| 417 |
+
def pre_image(res_image,model):
|
| 418 |
model.eval()
|
| 419 |
res_image = res_image[:,:,::-1]
|
| 420 |
img = Image.fromarray(res_image)
|