Spaces:
Runtime error
Runtime error
fix: now passing the history in the what you can expect
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ chat_interface = gr.ChatInterface(
|
|
236 |
def evolve_text(x):
|
237 |
|
238 |
possible_generation = "".join([x for x in generate(
|
239 |
-
x if len(x)>0 else "
|
240 |
temperature=additional_inputs[1].value,
|
241 |
max_new_tokens=10,
|
242 |
top_p=additional_inputs[3].value,
|
|
|
236 |
def evolve_text(x):
|
237 |
|
238 |
possible_generation = "".join([x for x in generate(
|
239 |
+
x if len(x)>0 else "@", HISTORY, additional_inputs[0].value,
|
240 |
temperature=additional_inputs[1].value,
|
241 |
max_new_tokens=10,
|
242 |
top_p=additional_inputs[3].value,
|