Spaces:
Sleeping
Sleeping
Create prediction.html
Browse files- templates/prediction.html +15 -0
templates/prediction.html
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>{{ symbol }} Prediction</title>
|
| 6 |
+
</head>
|
| 7 |
+
<body>
|
| 8 |
+
<h1>{{ symbol }} Prediction Results</h1>
|
| 9 |
+
<p>Current Price: ${{ result.current_price }}</p>
|
| 10 |
+
<p>Predicted Price: ${{ result.predicted_price }}</p>
|
| 11 |
+
<p>Change: ${{ result.change }} ({{ result.change_percent | round(2) }}%)</p>
|
| 12 |
+
<img src="data:image/png;base64,{{ chart_url }}" alt="Stock Chart"><br><br>
|
| 13 |
+
<a href="/">Back</a>
|
| 14 |
+
</body>
|
| 15 |
+
</html>
|