Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def predict(message, system_prompt, temperature, max_new_tokens,Topp,Repetitionp
|
|
| 25 |
with st.status("Requesting LLama-2"):
|
| 26 |
st.write("Requesting API")
|
| 27 |
response = client.predict(
|
| 28 |
-
|
| 29 |
system_prompt, # str in 'Optional system prompt' Textbox component
|
| 30 |
temperature, # int | float (numeric value between 0.0 and 1.0)
|
| 31 |
max_new_tokens, # int | float (numeric value between 0 and 4096)
|
|
|
|
| 25 |
with st.status("Requesting LLama-2"):
|
| 26 |
st.write("Requesting API")
|
| 27 |
response = client.predict(
|
| 28 |
+
message, # str in 'Message' Textbox component
|
| 29 |
system_prompt, # str in 'Optional system prompt' Textbox component
|
| 30 |
temperature, # int | float (numeric value between 0.0 and 1.0)
|
| 31 |
max_new_tokens, # int | float (numeric value between 0 and 4096)
|