Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,10 +14,6 @@ params = {
|
|
14 |
"batch_size": 8}
|
15 |
|
16 |
|
17 |
-
log_file_path = "gradio_logs.txt"
|
18 |
-
with open(log_file_path, "a") as log_file:
|
19 |
-
log_file.write("------- Logi Gradio -------\n")
|
20 |
-
|
21 |
def save_log(task, to_save):
|
22 |
with open(log_file_path, "a") as log_file:
|
23 |
current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
|
14 |
"batch_size": 8}
|
15 |
|
16 |
|
|
|
|
|
|
|
|
|
17 |
def save_log(task, to_save):
|
18 |
with open(log_file_path, "a") as log_file:
|
19 |
current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|