Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,12 +41,12 @@ with st.sidebar:
|
|
| 41 |
|
| 42 |
temperature = st.slider(
|
| 43 |
"Temperature",
|
| 44 |
-
0.1, 4.0, 0.
|
| 45 |
)
|
| 46 |
|
| 47 |
top_p = st.slider(
|
| 48 |
"Top-p",
|
| 49 |
-
0.1, 1.0, 0.
|
| 50 |
)
|
| 51 |
|
| 52 |
# Function to query the Hugging Face API
|
|
|
|
| 41 |
|
| 42 |
temperature = st.slider(
|
| 43 |
"Temperature",
|
| 44 |
+
0.1, 4.0, 0.3
|
| 45 |
)
|
| 46 |
|
| 47 |
top_p = st.slider(
|
| 48 |
"Top-p",
|
| 49 |
+
0.1, 1.0, 0.6
|
| 50 |
)
|
| 51 |
|
| 52 |
# Function to query the Hugging Face API
|