-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 3446d76.
- Loading branch information
1 parent
64332e4
commit 2572cb8
Showing
11 changed files
with
109 additions
and
203 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{% extends "shared/base.html" %} {% block layout_base %} | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="text-danger font-weight-bold"> | ||
{% for error in errors %} | ||
<li>{{error}}</li> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
<div class="row my-5"> | ||
|
||
<h2 class="text-left display-7">{{header}}</h2> | ||
<h4 class="text-left display-10">Number of streams: {{prediction["prediction"]}}</h4> | ||
<h4 class="text-left display-10">{{prediction["message"]["text"]}} {{prediction["message"]["emoji"]}}</h4> | ||
|
||
<!-- <h4 class="text-left display-10">{{prediction["features"]}}</h4> --> | ||
|
||
|
||
<hr style="border-bottom: 1px solid #888"> | ||
|
||
{% for key, value in prediction["song_metadata"].items() %} | ||
<h7 class="text-left display-15">{{key}}: {{ value }}</h7> | ||
{% endfor %} | ||
<hr style="border-bottom: 1px solid #888"> | ||
|
||
|
||
{% if prediction["preview_url"] is not none %} | ||
<div class="container-audio"> | ||
<audio controls> | ||
<source src={{prediction["preview_url"]}} /> | ||
</audio> | ||
</div> | ||
{% endif %} | ||
|
||
<a href="/"> | ||
<button type="submit">Try it again!</button> | ||
</a> | ||
|
||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.