Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
4 |
from huggingface_hub import HfApi, create_repo, upload_file
|
5 |
import random
|
6 |
import string
|
7 |
-
import
|
8 |
|
9 |
app = Flask(__name__)
|
10 |
|
@@ -16,7 +16,7 @@ if not HF_TOKEN:
|
|
16 |
hf_api = HfApi()
|
17 |
|
18 |
# Documentation as a string
|
19 |
-
DOCUMENTATION =
|
20 |
def generate_space_name():
|
21 |
"""Generate a unique Space name."""
|
22 |
random_suffix = ''.join(random.choices(string.ascii_lowercase + string.digits, k=6))
|
|
|
4 |
from huggingface_hub import HfApi, create_repo, upload_file
|
5 |
import random
|
6 |
import string
|
7 |
+
import assembler_docs
|
8 |
|
9 |
app = Flask(__name__)
|
10 |
|
|
|
16 |
hf_api = HfApi()
|
17 |
|
18 |
# Documentation as a string
|
19 |
+
DOCUMENTATION = assembler_docs.DOCUMENTATION
|
20 |
def generate_space_name():
|
21 |
"""Generate a unique Space name."""
|
22 |
random_suffix = ''.join(random.choices(string.ascii_lowercase + string.digits, k=6))
|