Spaces:
Sleeping
Sleeping
fix return history
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def chatbot(history,temperature, max_new_tokens, top_p,top_k):
|
|
101 |
response = sections[3]
|
102 |
|
103 |
#return response.split("Tanggapan:")[1].strip()
|
104 |
-
history[-1] =
|
105 |
return history
|
106 |
|
107 |
with gr.Blocks() as demo:
|
|
|
101 |
response = sections[3]
|
102 |
|
103 |
#return response.split("Tanggapan:")[1].strip()
|
104 |
+
history[-1] = response.split("Tanggapan:")[1].strip()
|
105 |
return history
|
106 |
|
107 |
with gr.Blocks() as demo:
|