Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Omnibus/top-20-flood
Omnibus
/
top-20-img-img
like
0
Runtime error
App
Files
Files
Community
Omnibus
commited on
Feb 13
Commit
a85be17
•
1 Parent(s):
2fa2865
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
import gradio as gr
2
+
from models import models
3
+
loaded_model=[]
4
+
for i,model in enumerate(models):
5
+
loaded_model.append(gr.load(f'models/{model}'))
6
+
print (loaded_model)