Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
9dc665b
1
Parent(s):
d588216
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
def get_model_path():
|
3 |
-
model_file = gr.File(label='Load your CKPT')
|
4 |
-
model_path = model_file.input
|
5 |
-
return model_path
|
6 |
|
7 |
model_path = get_model_path()
|
8 |
demo = gr.Blocks()
|
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
2 |
|
3 |
model_path = get_model_path()
|
4 |
demo = gr.Blocks()
|