mehdiabruee commited on
Commit
9adb7eb
·
1 Parent(s): e4ba9d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ from typing import List
26
 
27
  def ifnone(a, b): # a fastai-specific (fastcore) function used below, redefined so it's independent
28
  "`b` if `a` is None else `a`"
29
- return b if a is None else a
30
 
31
  class ConvBlock(torch.nn.Module):
32
  def __init__(self,input_size,output_size,kernel_size=4,stride=2,padding=1,activation='relu',batch_norm=True):
 
26
 
27
  def ifnone(a, b): # a fastai-specific (fastcore) function used below, redefined so it's independent
28
  "`b` if `a` is None else `a`"
29
+ return b if a is None else a
30
 
31
  class ConvBlock(torch.nn.Module):
32
  def __init__(self,input_size,output_size,kernel_size=4,stride=2,padding=1,activation='relu',batch_norm=True):