charliebaby2023
commited on
Commit
•
d6c665c
1
Parent(s):
f4ed025
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def load_fn(models):
|
|
21 |
try:
|
22 |
m = gr.load(f'models/{model}')
|
23 |
except Exception as error:
|
24 |
-
|
25 |
models_load.update({model: m})
|
26 |
|
27 |
load_fn(models)
|
|
|
21 |
try:
|
22 |
m = gr.load(f'models/{model}')
|
23 |
except Exception as error:
|
24 |
+
m = gr.Interface(lambda txt: None, ['text'], ['image'])
|
25 |
models_load.update({model: m})
|
26 |
|
27 |
load_fn(models)
|