Spaces:
Runtime error
Runtime error
Commit
•
889bd09
1
Parent(s):
26e2bde
Update app1.py
Browse files
app1.py
CHANGED
@@ -4,8 +4,7 @@ import os
|
|
4 |
from huggingface_hub import HfApi, create_repo
|
5 |
|
6 |
|
7 |
-
|
8 |
-
|
9 |
|
10 |
def convert_checkpoint(url, name, hf_token, image_size, scheduler_type, use_half):
|
11 |
try:
|
@@ -74,4 +73,4 @@ iface = gr.Interface(
|
|
74 |
],
|
75 |
outputs=gr.outputs.Textbox()
|
76 |
)
|
77 |
-
iface.launch(
|
|
|
4 |
from huggingface_hub import HfApi, create_repo
|
5 |
|
6 |
|
7 |
+
|
|
|
8 |
|
9 |
def convert_checkpoint(url, name, hf_token, image_size, scheduler_type, use_half):
|
10 |
try:
|
|
|
73 |
],
|
74 |
outputs=gr.outputs.Textbox()
|
75 |
)
|
76 |
+
iface.launch("Name of the model will be used to create a repo for converted model , make sure you don't have existing model")
|