feat: add "No models available" message to image, text, and video generation forms
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -34,6 +34,7 @@ AI{% endblock %} {% block content %}
|
||||
placeholder="e.g. openai/sora-2-pro"
|
||||
value="{{ request.form.get('model', '') if request.form.get('mode','text')=='text' else '' }}"
|
||||
/>
|
||||
<p class="text-muted mt-1">No models available</p>
|
||||
{% endif %}
|
||||
|
||||
<label for="prompt-t">Prompt</label>
|
||||
@@ -103,6 +104,7 @@ AI{% endblock %} {% block content %}
|
||||
placeholder="e.g. openai/sora-2-pro"
|
||||
value="{{ request.form.get('model', '') if request.form.get('mode')=='image' else '' }}"
|
||||
/>
|
||||
<p class="text-muted mt-1">No models available</p>
|
||||
{% endif %}
|
||||
|
||||
<label for="image_url">Source image URL</label>
|
||||
|
||||
Reference in New Issue
Block a user