app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from random import randint
|
3 |
from all_models import models
|
4 |
-
from datetime import datetime
|
5 |
-
|
6 |
-
def get_current_time():
|
7 |
-
now = datetime.now()
|
8 |
-
now2 = now
|
9 |
-
current_time = now2.strftime("%Y-%m-%d %H:%M:%S")
|
10 |
-
ki = f'{current_time}'
|
11 |
-
return ki
|
12 |
|
13 |
def load_fn(models):
|
14 |
global models_load
|
|
|
1 |
import gradio as gr
|
2 |
from random import randint
|
3 |
from all_models import models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
def load_fn(models):
|
6 |
global models_load
|