Spaces:
Sleeping
Sleeping
API doesn't handle values of 0
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def main():
|
|
28 |
st.title('UiA ai koordinator\n Llama 3 8b text completion')
|
29 |
|
30 |
user_input = st.text_area("Enter your prompt:", height=300)
|
31 |
-
temperature = st.slider('Select the temperature:', 0.
|
32 |
|
33 |
with st.spinner('Generating completion...'):
|
34 |
if st.button('Generate'):
|
|
|
28 |
st.title('UiA ai koordinator\n Llama 3 8b text completion')
|
29 |
|
30 |
user_input = st.text_area("Enter your prompt:", height=300)
|
31 |
+
temperature = st.slider('Select the temperature:', 0.0001, 2.0, 0.6)
|
32 |
|
33 |
with st.spinner('Generating completion...'):
|
34 |
if st.button('Generate'):
|