Spaces:
Sleeping
Sleeping
Commit
•
a0a91a5
1
Parent(s):
648b6a9
remove None default assignment
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ with gr.Blocks(title=title) as demo:
|
|
212 |
history = history or []
|
213 |
return "", history + [[message, None]]
|
214 |
|
215 |
-
def respond(history
|
216 |
instruction = history[-1][0]
|
217 |
history[-1][1] = ""
|
218 |
|
|
|
212 |
history = history or []
|
213 |
return "", history + [[message, None]]
|
214 |
|
215 |
+
def respond(history, token_count, temperature, top_p, presence_penalty, count_penalty):
|
216 |
instruction = history[-1][0]
|
217 |
history[-1][1] = ""
|
218 |
|