Update app.py
Browse files
app.py
CHANGED
|
@@ -151,7 +151,7 @@ def comment_generate(prompt, history,post_check,full_conv, agent_name=agents[0],
|
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
-
def
|
| 155 |
#def question_generate(prompt, history):
|
| 156 |
print(post_check)
|
| 157 |
#full_conv=history
|
|
|
|
| 151 |
|
| 152 |
|
| 153 |
|
| 154 |
+
def reply_generate(prompt, history,post_check,full_conv, agent_name=agents[0], sys_prompt="", temperature=0.9, max_new_tokens=1028, top_p=0.95, repetition_penalty=1.0,):
|
| 155 |
#def question_generate(prompt, history):
|
| 156 |
print(post_check)
|
| 157 |
#full_conv=history
|