app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from random import randint
|
3 |
from all_models import models
|
4 |
-
from datetime import datetime
|
5 |
|
6 |
|
7 |
-
def get_current_time():
|
8 |
-
now = datetime.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
|
15 |
models_load = {}
|
|
|
1 |
import gradio as gr
|
2 |
from random import randint
|
3 |
from all_models import models
|
|
|
4 |
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
def load_fn(models):
|
7 |
global models_load
|
8 |
models_load = {}
|