Spaces:
Runtime error
Runtime error
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def post_request_beta(payload):
|
|
32 |
return response.json()
|
33 |
|
34 |
|
35 |
-
def predict_beta(message, chatbot=[], system_prompt):
|
36 |
input_prompt = build_input_prompt(message, chatbot, system_prompt)
|
37 |
data = {
|
38 |
"inputs": input_prompt
|
|
|
32 |
return response.json()
|
33 |
|
34 |
|
35 |
+
def predict_beta(message, chatbot=[], system_prompt=""):
|
36 |
input_prompt = build_input_prompt(message, chatbot, system_prompt)
|
37 |
data = {
|
38 |
"inputs": input_prompt
|