uruguayai commited on
Commit
bec6160
·
verified ·
1 Parent(s): 00f4326

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -155,7 +155,7 @@ state = train_state.TrainState.create(
155
  )
156
 
157
  # Modify the train_step function
158
- ef train_step(state, batch, rng):
159
  def compute_loss(params, pixel_values, rng):
160
  # Ensure pixel_values are float32
161
  pixel_values = jnp.array(pixel_values, dtype=jnp.float32)
 
155
  )
156
 
157
  # Modify the train_step function
158
+ def train_step(state, batch, rng):
159
  def compute_loss(params, pixel_values, rng):
160
  # Ensure pixel_values are float32
161
  pixel_values = jnp.array(pixel_values, dtype=jnp.float32)