Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def question_generate(prompt, history, agent_name=agents[0], sys_prompt="", temp
|
|
57 |
|
58 |
return output
|
59 |
|
60 |
-
def
|
61 |
seed = random.randint(1,1111111111111111)
|
62 |
|
63 |
agent=prompts.WEB_DEV
|
|
|
57 |
|
58 |
return output
|
59 |
|
60 |
+
def generate(prompt, history, agent_name=agents[0], sys_prompt="", temperature=0.9, max_new_tokens=1048, top_p=0.95, repetition_penalty=1.0,):
|
61 |
seed = random.randint(1,1111111111111111)
|
62 |
|
63 |
agent=prompts.WEB_DEV
|