Blessin commited on
Commit
81505d9
·
verified ·
1 Parent(s): 7e75af6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ input_celsius = st.number_input('Enter Celsius value:', value=0.0, format="%.1f"
28
  if st.button('Train Model and Predict Fahrenheit'):
29
  with st.spinner('Training...'):
30
  # Fit the model
31
- model.fit(celsius, fahrenheit, epochs=500)
32
  st.success('Training completed!')
33
 
34
  # Make prediction
 
28
  if st.button('Train Model and Predict Fahrenheit'):
29
  with st.spinner('Training...'):
30
  # Fit the model
31
+ model.fit(celsius, fahrenheit, epochs=100)
32
  st.success('Training completed!')
33
 
34
  # Make prediction