Spaces:
Runtime error
Runtime error
karan99300
commited on
Commit
•
d62eb6d
1
Parent(s):
44e8588
Delete index.html
Browse files- index.html +0 -21
index.html
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8">
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
-
<title>Image Classifier</title>
|
7 |
-
</head>
|
8 |
-
<body>
|
9 |
-
<h1>Image Classifier</h1>
|
10 |
-
<form method="post">
|
11 |
-
<label for="image_url">Enter Image URL:</label><br>
|
12 |
-
<input type="text" id="image_url" name="image_url"><br><br>
|
13 |
-
<input type="submit" value="Submit">
|
14 |
-
</form>
|
15 |
-
{% if predicted_class %}
|
16 |
-
<h2>Predicted Class:</h2>
|
17 |
-
<p>{{ predicted_class }}</p>
|
18 |
-
<img src="{{ image_url }}" alt="Image">
|
19 |
-
{% endif %}
|
20 |
-
</body>
|
21 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|