Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,10 +81,10 @@ def create_valid_filename(invalid_filename: str) -> str:
|
|
81 |
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,):
|
82 |
#print(datetime.datetime.now())
|
83 |
uid=uuid.uuid4()
|
84 |
-
current_time = datetime.datetime.now()
|
85 |
|
86 |
-
current_time.replace(":","-")
|
87 |
-
current_time.replace(".","-")
|
88 |
print (current_time)
|
89 |
agent=prompts.AI_REPORT_WRITER
|
90 |
''' if agent_name == "WEB_DEV":
|
|
|
81 |
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,):
|
82 |
#print(datetime.datetime.now())
|
83 |
uid=uuid.uuid4()
|
84 |
+
current_time = str(datetime.datetime.now())
|
85 |
|
86 |
+
current_time=current_time.replace(":","-")
|
87 |
+
current_time=current_time.replace(".","-")
|
88 |
print (current_time)
|
89 |
agent=prompts.AI_REPORT_WRITER
|
90 |
''' if agent_name == "WEB_DEV":
|