alkzar90 commited on
Commit
fd53dd0
1 Parent(s): 3e06692

Fix indentation in the code snippet

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -62,11 +62,11 @@ else:
62
  st.markdown('The training loop:')
63
 
64
  code = '''NUM_ITER = 1000
65
- # initialize parameters
66
- w = np.array([3., -2., -8.])
67
- for i in range(NUM_ITER):
68
- # update parameter
69
- w -= learning_rte * grad_loss(w)'''
70
 
71
  st.code(code, language='python')
72
 
 
62
  st.markdown('The training loop:')
63
 
64
  code = '''NUM_ITER = 1000
65
+ # initialize parameters
66
+ w = np.array([3., -2., -8.])
67
+ for i in range(NUM_ITER):
68
+ # update parameters
69
+ w -= learning_rte * grad_loss(w)'''
70
 
71
  st.code(code, language='python')
72