Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,6 @@ import tempfile
|
|
7 |
import shlex
|
8 |
from huggingface_hub import HfApi
|
9 |
|
10 |
-
# Moved to build_logic.py
|
11 |
-
# from build_logic import build_logic_set_space_privacy
|
12 |
-
# from build_logic import build_logic_delete_space
|
13 |
-
|
14 |
try:
|
15 |
from build_logic import (
|
16 |
# build_logic_create_space, # This is now handled by apply_staged_changes for AI
|
@@ -1208,5 +1204,4 @@ with gr.Blocks(theme=custom_theme, css=custom_css) as demo:
|
|
1208 |
refresh_status_button.click(fn=handle_refresh_space_status, inputs=[hf_api_key_input, owner_name_input, space_name_input], outputs=[space_runtime_status_display])
|
1209 |
|
1210 |
if __name__ == "__main__":
|
1211 |
-
demo.launch(debug=False, mcp_server=True)
|
1212 |
-
```
|
|
|
7 |
import shlex
|
8 |
from huggingface_hub import HfApi
|
9 |
|
|
|
|
|
|
|
|
|
10 |
try:
|
11 |
from build_logic import (
|
12 |
# build_logic_create_space, # This is now handled by apply_staged_changes for AI
|
|
|
1204 |
refresh_status_button.click(fn=handle_refresh_space_status, inputs=[hf_api_key_input, owner_name_input, space_name_input], outputs=[space_runtime_status_display])
|
1205 |
|
1206 |
if __name__ == "__main__":
|
1207 |
+
demo.launch(debug=False, mcp_server=True)
|
|