Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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
|