Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions apps/forms/mlflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from crispy_forms.layout import Div, Field, Layout
from crispy_forms.layout import HTML, Div, Field, Layout

from apps.forms.base import BaseForm
from apps.models import MLFlowInstance
Expand All @@ -12,8 +12,21 @@ class MLFlowAppForm(BaseForm):
def _setup_form_helper(self):
super()._setup_form_helper()
body = Div(
HTML(
"""
<div class="alert alert-info" role="alert">
<p>⚠️ Experimental Feature Notice</p>
<p>This feature is currently in an experimental phase. Please use it with caution as
stability and data integrity are not guaranteed. The feature could change at any time.</p>
</div>
<p>You are about to create a MLFlow app on SciLifeLab Serve.
You can use it to track your machine learning experiments.
You can start using it right away after it's created and we suggest you to start with
reading the <a href="https://serve.scilifelab.se/docs/mlflow/">Serve User Guide for MLFlow</a> and
<a href="https://mlflow.org/docs/latest/index.html">MLFlow Documentation</a>.</p>
"""
),
Field("name", placeholder="Name your app"),
Field("subdomain", placeholder="Enter a subdomain or leave blank for a random one"),
css_class="card-body",
)

Expand Down