Spaces:
Running
Running
fix issue
Browse files- anycoder_app/ui.py +2 -1
anycoder_app/ui.py
CHANGED
|
@@ -5,6 +5,7 @@ Defines the main UI layout, components, and event handlers.
|
|
| 5 |
import os
|
| 6 |
import gradio as gr
|
| 7 |
from typing import Dict, Optional
|
|
|
|
| 8 |
|
| 9 |
from .config import (
|
| 10 |
AVAILABLE_MODELS, DEFAULT_MODEL, DEFAULT_MODEL_NAME,
|
|
@@ -16,7 +17,7 @@ from .parsers import (
|
|
| 16 |
history_render, clear_history, create_multimodal_message,
|
| 17 |
parse_multipage_html_output, parse_transformers_js_output,
|
| 18 |
parse_react_output, format_transformers_js_output,
|
| 19 |
-
validate_and_autofix_files
|
| 20 |
)
|
| 21 |
from .deploy import (
|
| 22 |
check_authentication, update_ui_for_auth_status,
|
|
|
|
| 5 |
import os
|
| 6 |
import gradio as gr
|
| 7 |
from typing import Dict, Optional
|
| 8 |
+
from huggingface_hub import HfApi
|
| 9 |
|
| 10 |
from .config import (
|
| 11 |
AVAILABLE_MODELS, DEFAULT_MODEL, DEFAULT_MODEL_NAME,
|
|
|
|
| 17 |
history_render, clear_history, create_multimodal_message,
|
| 18 |
parse_multipage_html_output, parse_transformers_js_output,
|
| 19 |
parse_react_output, format_transformers_js_output,
|
| 20 |
+
validate_and_autofix_files, parse_multi_file_python_output
|
| 21 |
)
|
| 22 |
from .deploy import (
|
| 23 |
check_authentication, update_ui_for_auth_status,
|