Spaces:
Running
on
Zero
Running
on
Zero
feat: open logs Accordeon by default
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ try:
|
|
25 |
from instanovo.constants import MASS_SCALE, MAX_MASS
|
26 |
from torch.utils.data import DataLoader
|
27 |
except ImportError as e:
|
28 |
-
raise ImportError("Failed to import InstaNovo components: {e}")
|
29 |
|
30 |
# --- Configuration ---
|
31 |
MODEL_ID = "instanovo-v1.1.0" # Use the desired pretrained model ID
|
@@ -484,7 +484,7 @@ with gr.Blocks(css=css, theme=gr.themes.Default(primary_hue="blue", secondary_hu
|
|
484 |
)
|
485 |
|
486 |
# Add logging component
|
487 |
-
with gr.Accordion("Application Logs", open=
|
488 |
log_display = Log(log_file, dark=True, height=300)
|
489 |
|
490 |
# --- Launch the App ---
|
|
|
25 |
from instanovo.constants import MASS_SCALE, MAX_MASS
|
26 |
from torch.utils.data import DataLoader
|
27 |
except ImportError as e:
|
28 |
+
raise ImportError(f"Failed to import InstaNovo components: {e}")
|
29 |
|
30 |
# --- Configuration ---
|
31 |
MODEL_ID = "instanovo-v1.1.0" # Use the desired pretrained model ID
|
|
|
484 |
)
|
485 |
|
486 |
# Add logging component
|
487 |
+
with gr.Accordion("Application Logs", open=True):
|
488 |
log_display = Log(log_file, dark=True, height=300)
|
489 |
|
490 |
# --- Launch the App ---
|