Spaces:
Running
Running
Add 2 files
Browse files- index.html +149 -196
- prompts.txt +3 -1
index.html
CHANGED
@@ -3,14 +3,19 @@
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
-
<title>
|
7 |
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
<style>
|
10 |
-
|
11 |
-
|
|
|
|
|
12 |
}
|
13 |
-
.
|
|
|
|
|
|
|
14 |
animation: pulse 2s infinite;
|
15 |
}
|
16 |
@keyframes pulse {
|
@@ -18,229 +23,177 @@
|
|
18 |
50% { transform: scale(1.05); }
|
19 |
100% { transform: scale(1); }
|
20 |
}
|
21 |
-
.
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
</style>
|
26 |
</head>
|
27 |
-
<body class="bg-gray-
|
28 |
-
<div class="max-w-md mx-auto bg-white min-h-screen shadow-
|
29 |
-
<!-- Header -->
|
30 |
-
<header class="gradient
|
31 |
-
<div class="
|
|
|
|
|
|
|
32 |
<div>
|
33 |
-
<h1 class="text-2xl font-bold">
|
34 |
-
|
|
|
|
|
|
|
35 |
</div>
|
36 |
-
<div class="flex space-x-
|
37 |
-
<button class="bg-white bg-opacity-20 p-2 rounded-full">
|
38 |
-
<i class="fas fa-
|
39 |
</button>
|
40 |
-
<button class="bg-white bg-opacity-20 p-2 rounded-full">
|
41 |
-
<i class="fas fa-
|
42 |
</button>
|
43 |
</div>
|
44 |
</div>
|
45 |
|
46 |
-
<!--
|
47 |
-
<div class="
|
48 |
-
<div class="relative">
|
49 |
-
<
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
</div>
|
|
|
|
|
|
|
|
|
55 |
</div>
|
56 |
</header>
|
57 |
|
58 |
<!-- Main Content -->
|
59 |
-
<main class="px-6 pt-6 pb-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
<!-- Quick Actions -->
|
61 |
-
<div class="grid grid-cols-
|
62 |
-
<button class="
|
63 |
-
<div class="bg-
|
64 |
-
<i class="fas fa-
|
65 |
</div>
|
66 |
-
<span class="text-
|
67 |
</button>
|
68 |
-
<button class="
|
69 |
-
<div class="bg-
|
70 |
-
<i class="fas fa-
|
71 |
</div>
|
72 |
-
<span class="text-
|
73 |
</button>
|
74 |
-
<button class="
|
75 |
-
<div class="bg-
|
76 |
-
<i class="fas fa-
|
77 |
</div>
|
78 |
-
<span class="text-
|
79 |
</button>
|
80 |
-
<button class="
|
81 |
-
<div class="bg-
|
82 |
-
<i class="fas fa-
|
83 |
</div>
|
84 |
-
<span class="text-
|
85 |
-
</button>
|
86 |
-
</div>
|
87 |
-
|
88 |
-
<!-- Emergency Button -->
|
89 |
-
<div class="mb-8">
|
90 |
-
<button class="w-full bg-red-500 hover:bg-red-600 text-white py-3 px-4 rounded-xl shadow-md flex items-center justify-center pulse-animation transition">
|
91 |
-
<i class="fas fa-ambulance mr-2"></i>
|
92 |
-
<span class="font-bold">Emergency Assistance</span>
|
93 |
</button>
|
94 |
</div>
|
95 |
-
|
96 |
-
<!--
|
97 |
-
<
|
98 |
-
<
|
99 |
-
<
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
<!-- Upcoming Appointments -->
|
108 |
-
<div class="mb-6">
|
109 |
-
<div class="flex justify-between items-center mb-4">
|
110 |
-
<h2 class="font-bold text-gray-800">Upcoming Appointments</h2>
|
111 |
-
<button class="text-blue-600 text-sm font-medium">View All</button>
|
112 |
-
</div>
|
113 |
-
|
114 |
-
<div class="bg-white rounded-xl shadow-sm p-4 mb-3 border-l-4 border-blue-500">
|
115 |
-
<div class="flex justify-between items-start">
|
116 |
-
<div>
|
117 |
-
<h3 class="font-medium text-gray-800">Dr. Sarah Johnson</h3>
|
118 |
-
<p class="text-sm text-gray-500">Cardiologist</p>
|
119 |
-
</div>
|
120 |
-
<div class="text-right">
|
121 |
-
<p class="text-sm font-medium text-gray-800">Today, 3:00 PM</p>
|
122 |
-
<p class="text-xs text-gray-500">30 mins</p>
|
123 |
-
</div>
|
124 |
-
</div>
|
125 |
-
<div class="flex justify-between mt-3">
|
126 |
-
<button class="text-xs bg-blue-100 text-blue-600 py-1 px-3 rounded-full">Video Call</button>
|
127 |
-
<button class="text-xs bg-gray-100 text-gray-600 py-1 px-3 rounded-full">Reschedule</button>
|
128 |
-
</div>
|
129 |
-
</div>
|
130 |
-
|
131 |
-
<div class="bg-white rounded-xl shadow-sm p-4 border-l-4 border-green-500">
|
132 |
-
<div class="flex justify-between items-start">
|
133 |
-
<div>
|
134 |
-
<h3 class="font-medium text-gray-800">Dr. Michael Chen</h3>
|
135 |
-
<p class="text-sm text-gray-500">General Physician</p>
|
136 |
-
</div>
|
137 |
-
<div class="text-right">
|
138 |
-
<p class="text-sm font-medium text-gray-800">Tomorrow, 10:30 AM</p>
|
139 |
-
<p class="text-xs text-gray-500">20 mins</p>
|
140 |
-
</div>
|
141 |
-
</div>
|
142 |
-
<div class="flex justify-between mt-3">
|
143 |
-
<button class="text-xs bg-blue-100 text-blue-600 py-1 px-3 rounded-full">Clinic Visit</button>
|
144 |
-
<button class="text-xs bg-gray-100 text-gray-600 py-1 px-3 rounded-full">Cancel</button>
|
145 |
-
</div>
|
146 |
-
</div>
|
147 |
-
</div>
|
148 |
-
|
149 |
-
<!-- Medicine Reminder -->
|
150 |
-
<div class="mb-6">
|
151 |
-
<div class="flex justify-between items-center mb-4">
|
152 |
-
<h2 class="font-bold text-gray-800">Medicine Reminders</h2>
|
153 |
-
<button class="text-blue-600 text-sm font-medium">Add New</button>
|
154 |
-
</div>
|
155 |
-
|
156 |
-
<div class="bg-white rounded-xl shadow-sm p-4 flex items-center mb-3">
|
157 |
-
<div class="bg-blue-100 p-3 rounded-lg mr-4">
|
158 |
-
<i class="fas fa-pills text-blue-600"></i>
|
159 |
-
</div>
|
160 |
-
<div class="flex-1">
|
161 |
-
<h3 class="font-medium text-gray-800">Paracetamol</h3>
|
162 |
-
<p class="text-sm text-gray-500">500mg, 1 tablet</p>
|
163 |
-
</div>
|
164 |
-
<div class="text-right">
|
165 |
-
<p class="text-sm font-medium text-gray-800">8:00 AM</p>
|
166 |
-
<p class="text-xs text-gray-500">Daily</p>
|
167 |
-
</div>
|
168 |
</div>
|
169 |
-
|
170 |
-
|
171 |
-
<div class="bg-purple-100 p-3 rounded-lg mr-4">
|
172 |
-
<i class="fas fa-pills text-purple-600"></i>
|
173 |
-
</div>
|
174 |
-
<div class="flex-1">
|
175 |
-
<h3 class="font-medium text-gray-800">Vitamin D</h3>
|
176 |
-
<p class="text-sm text-gray-500">1000 IU, 1 capsule</p>
|
177 |
-
</div>
|
178 |
-
<div class="text-right">
|
179 |
-
<p class="text-sm font-medium text-gray-800">7:00 PM</p>
|
180 |
-
<p class="text-xs text-gray-500">Every 2 days</p>
|
181 |
-
</div>
|
182 |
</div>
|
183 |
</div>
|
184 |
</main>
|
185 |
|
186 |
-
<!--
|
187 |
-
<
|
188 |
-
<
|
189 |
-
<
|
190 |
-
<
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
</button>
|
196 |
-
<button class="flex flex-col items-center text-gray-500">
|
197 |
-
<i class="fas fa-heartbeat mb-1"></i>
|
198 |
-
<span class="text-xs">Health</span>
|
199 |
-
</button>
|
200 |
-
<button class="flex flex-col items-center text-gray-500">
|
201 |
-
<i class="fas fa-user-md mb-1"></i>
|
202 |
-
<span class="text-xs">Doctors</span>
|
203 |
-
</button>
|
204 |
-
<button class="flex flex-col items-center text-gray-500">
|
205 |
-
<i class="fas fa-cog mb-1"></i>
|
206 |
-
<span class="text-xs">Settings</span>
|
207 |
-
</button>
|
208 |
-
</nav>
|
209 |
</div>
|
210 |
|
211 |
<script>
|
212 |
-
//
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
alert(`Loading ${this.querySelector('span').textContent} section...`);
|
241 |
-
});
|
242 |
-
});
|
243 |
-
});
|
244 |
-
</script>
|
245 |
-
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=THEMONEYHOLLIC/smartdoctor" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
246 |
</html>
|
|
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>PhoneDoc AI - Smartphone Health Assistant</title>
|
7 |
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
<style>
|
10 |
+
@keyframes float {
|
11 |
+
0% { transform: translateY(0px); }
|
12 |
+
50% { transform: translateY(-10px); }
|
13 |
+
100% { transform: translateY(0px); }
|
14 |
}
|
15 |
+
.ai-gradient {
|
16 |
+
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
|
17 |
+
}
|
18 |
+
.pulse {
|
19 |
animation: pulse 2s infinite;
|
20 |
}
|
21 |
@keyframes pulse {
|
|
|
23 |
50% { transform: scale(1.05); }
|
24 |
100% { transform: scale(1); }
|
25 |
}
|
26 |
+
.chat-bubble {
|
27 |
+
border-radius: 20px 20px 20px 5px;
|
28 |
+
}
|
29 |
+
.user-bubble {
|
30 |
+
border-radius: 20px 20px 5px 20px;
|
31 |
+
}
|
32 |
+
.glow {
|
33 |
+
box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
|
34 |
+
}
|
35 |
+
.slide-up {
|
36 |
+
animation: slideUp 0.5s ease-out;
|
37 |
+
}
|
38 |
+
@keyframes slideUp {
|
39 |
+
from { transform: translateY(20px); opacity: 0; }
|
40 |
+
to { transform: translateY(0); opacity: 1; }
|
41 |
}
|
42 |
</style>
|
43 |
</head>
|
44 |
+
<body class="bg-gray-100 font-sans">
|
45 |
+
<div class="max-w-md mx-auto bg-white min-h-screen shadow-xl overflow-hidden relative">
|
46 |
+
<!-- AI Assistant Header -->
|
47 |
+
<header class="ai-gradient text-white p-6 pb-20 relative overflow-hidden">
|
48 |
+
<div class="absolute top-0 right-0 w-32 h-32 bg-purple-400 rounded-full opacity-20 transform translate-x-16 -translate-y-16"></div>
|
49 |
+
<div class="absolute bottom-0 left-0 w-48 h-48 bg-indigo-400 rounded-full opacity-20 transform -translate-x-20 translate-y-20"></div>
|
50 |
+
|
51 |
+
<div class="flex justify-between items-center mb-8 z-10 relative">
|
52 |
<div>
|
53 |
+
<h1 class="text-2xl font-bold flex items-center">
|
54 |
+
<span class="mr-2">PhoneDoc</span>
|
55 |
+
<span class="text-xs bg-white text-purple-600 px-2 py-1 rounded-full">AI</span>
|
56 |
+
</h1>
|
57 |
+
<p class="text-sm opacity-90">Your AI smartphone doctor</p>
|
58 |
</div>
|
59 |
+
<div class="flex space-x-3">
|
60 |
+
<button class="bg-white bg-opacity-20 p-2 rounded-full hover:bg-opacity-30 transition">
|
61 |
+
<i class="fas fa-history text-white text-sm"></i>
|
62 |
</button>
|
63 |
+
<button class="bg-white bg-opacity-20 p-2 rounded-full hover:bg-opacity-30 transition">
|
64 |
+
<i class="fas fa-cog text-white text-sm"></i>
|
65 |
</button>
|
66 |
</div>
|
67 |
</div>
|
68 |
|
69 |
+
<!-- AI Avatar -->
|
70 |
+
<div class="flex items-center mb-6 z-10 relative">
|
71 |
+
<div class="relative mr-4">
|
72 |
+
<div class="w-16 h-16 bg-white bg-opacity-20 rounded-full flex items-center justify-center pulse">
|
73 |
+
<i class="fas fa-robot text-white text-2xl"></i>
|
74 |
+
</div>
|
75 |
+
<div class="absolute -bottom-1 -right-1 bg-green-400 w-4 h-4 rounded-full border-2 border-white"></div>
|
76 |
+
</div>
|
77 |
+
<div>
|
78 |
+
<h2 class="font-bold text-lg" id="device-model">Analyzing your device...</h2>
|
79 |
+
<p class="text-sm opacity-90" id="ai-status">AI Assistant is ready</p>
|
80 |
+
</div>
|
81 |
+
</div>
|
82 |
+
|
83 |
+
<!-- Health Score with AI Analysis -->
|
84 |
+
<div class="bg-white bg-opacity-15 backdrop-blur-sm rounded-2xl p-4 mb-6 border border-white border-opacity-20 slide-up">
|
85 |
+
<div class="flex justify-between items-center mb-3">
|
86 |
+
<div>
|
87 |
+
<span class="text-sm font-medium">AI Health Score</span>
|
88 |
+
<span class="text-xs block opacity-80">Powered by neural analysis</span>
|
89 |
+
</div>
|
90 |
+
<span class="text-xl font-bold" id="health-score">--</span>
|
91 |
</div>
|
92 |
+
<div class="h-2 bg-white bg-opacity-20 rounded-full overflow-hidden">
|
93 |
+
<div class="h-full bg-gradient-to-r from-green-400 to-cyan-400 rounded-full transition-all duration-500" id="health-progress" style="width: 0%"></div>
|
94 |
+
</div>
|
95 |
+
<p class="text-xs mt-2 opacity-90" id="health-message">Run a scan to get your device health analysis</p>
|
96 |
</div>
|
97 |
</header>
|
98 |
|
99 |
<!-- Main Content -->
|
100 |
+
<main class="px-6 pt-6 pb-24 -mt-12 relative z-10">
|
101 |
+
<!-- AI Chat Interface -->
|
102 |
+
<div class="bg-gray-50 rounded-2xl p-4 mb-6 h-64 overflow-y-auto" id="chat-container">
|
103 |
+
<div class="flex mb-4">
|
104 |
+
<div class="w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center mr-2">
|
105 |
+
<i class="fas fa-robot text-purple-600 text-sm"></i>
|
106 |
+
</div>
|
107 |
+
<div class="bg-white p-3 rounded-lg shadow-xs chat-bubble max-w-[80%]">
|
108 |
+
<p class="text-sm">Hello! I'm your PhoneDoc AI assistant. I can analyze your smartphone's health including battery, storage, performance and more. How can I help you today?</p>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
|
113 |
<!-- Quick Actions -->
|
114 |
+
<div class="grid grid-cols-2 gap-3 mb-6">
|
115 |
+
<button onclick="askAI('battery')" class="bg-white hover:bg-gray-50 border border-gray-200 p-3 rounded-xl flex items-center transition">
|
116 |
+
<div class="w-10 h-10 bg-red-100 rounded-lg flex items-center justify-center mr-3">
|
117 |
+
<i class="fas fa-battery-three-quarters text-red-500"></i>
|
118 |
</div>
|
119 |
+
<span class="text-sm font-medium">Battery</span>
|
120 |
</button>
|
121 |
+
<button onclick="askAI('storage')" class="bg-white hover:bg-gray-50 border border-gray-200 p-3 rounded-xl flex items-center transition">
|
122 |
+
<div class="w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center mr-3">
|
123 |
+
<i class="fas fa-database text-blue-500"></i>
|
124 |
</div>
|
125 |
+
<span class="text-sm font-medium">Storage</span>
|
126 |
</button>
|
127 |
+
<button onclick="askAI('performance')" class="bg-white hover:bg-gray-50 border border-gray-200 p-3 rounded-xl flex items-center transition">
|
128 |
+
<div class="w-10 h-10 bg-yellow-100 rounded-lg flex items-center justify-center mr-3">
|
129 |
+
<i class="fas fa-tachometer-alt text-yellow-500"></i>
|
130 |
</div>
|
131 |
+
<span class="text-sm font-medium">Performance</span>
|
132 |
</button>
|
133 |
+
<button onclick="askAI('network')" class="bg-white hover:bg-gray-50 border border-gray-200 p-3 rounded-xl flex items-center transition">
|
134 |
+
<div class="w-10 h-10 bg-green-100 rounded-lg flex items-center justify-center mr-3">
|
135 |
+
<i class="fas fa-wifi text-green-500"></i>
|
136 |
</div>
|
137 |
+
<span class="text-sm font-medium">Network</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
</button>
|
139 |
</div>
|
140 |
+
|
141 |
+
<!-- Full Diagnostic Button -->
|
142 |
+
<button id="full-scan-btn" class="w-full ai-gradient hover:opacity-90 text-white py-3 px-4 rounded-xl shadow-md flex items-center justify-center transition mb-6 glow">
|
143 |
+
<i class="fas fa-shield-alt mr-2"></i>
|
144 |
+
<span class="font-bold">Run Full AI Diagnostic</span>
|
145 |
+
</button>
|
146 |
+
|
147 |
+
<!-- AI Suggestions -->
|
148 |
+
<div class="bg-white border border-gray-200 rounded-xl p-4">
|
149 |
+
<div class="flex items-center mb-3">
|
150 |
+
<i class="fas fa-lightbulb text-yellow-500 mr-2"></i>
|
151 |
+
<h3 class="font-medium text-sm">AI Recommendations</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
</div>
|
153 |
+
<div id="ai-suggestions">
|
154 |
+
<p class="text-xs text-gray-600">Complete a scan to get personalized AI recommendations for your device.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
</div>
|
156 |
</div>
|
157 |
</main>
|
158 |
|
159 |
+
<!-- Input Area -->
|
160 |
+
<div class="fixed bottom-0 left-0 right-0 max-w-md mx-auto bg-white p-3 border-t border-gray-200 shadow-lg">
|
161 |
+
<div class="flex items-center">
|
162 |
+
<input type="text" id="user-input" placeholder="Ask PhoneDoc AI..." class="flex-1 bg-gray-100 rounded-full py-2 px-4 text-sm focus:outline-none focus:ring-2 focus:ring-purple-200">
|
163 |
+
<button id="send-btn" class="ml-2 w-10 h-10 ai-gradient text-white rounded-full flex items-center justify-center hover:opacity-90 transition">
|
164 |
+
<i class="fas fa-paper-plane"></i>
|
165 |
+
</button>
|
166 |
+
</div>
|
167 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
</div>
|
169 |
|
170 |
<script>
|
171 |
+
// Device information (simulated)
|
172 |
+
const deviceInfo = {
|
173 |
+
model: navigator.userAgent.match(/\(([^)]+)\)/)[1] || "Unknown Device",
|
174 |
+
os: navigator.platform,
|
175 |
+
battery: {
|
176 |
+
level: Math.floor(Math.random() * 30) + 70,
|
177 |
+
health: Math.floor(Math.random() * 20) + 80
|
178 |
+
},
|
179 |
+
storage: {
|
180 |
+
total: 64,
|
181 |
+
used: Math.floor(Math.random() * 40) + 15,
|
182 |
+
health: Math.floor(Math.random() * 20) + 85
|
183 |
+
},
|
184 |
+
performance: Math.floor(Math.random() * 20) + 75,
|
185 |
+
network: Math.floor(Math.random() * 20) + 80
|
186 |
+
};
|
187 |
+
|
188 |
+
// AI responses database
|
189 |
+
const aiResponses = {
|
190 |
+
greeting: "Hello! I'm your PhoneDoc AI assistant. I can analyze your smartphone's health including battery, storage, performance and more. How can I help you today?",
|
191 |
+
battery: {
|
192 |
+
good: `Your battery health is at ${deviceInfo.battery.health}%, which is excellent! The current charge level is ${deviceInfo.battery.level}%. To maintain battery health, avoid extreme temperatures and try to keep charge between 20-80%.`,
|
193 |
+
average: `Your battery health is at ${deviceInfo.battery.health}%, which is acceptable but could be better. The current charge level is ${deviceInfo.battery.level}%. Consider reducing screen brightness and closing background apps to extend battery life.`,
|
194 |
+
poor: `Your battery health is at ${deviceInfo.battery.health}%, which indicates significant degradation. The current charge level is ${deviceInfo.battery.level}%. You might want to consider battery replacement soon for optimal performance.`
|
195 |
+
},
|
196 |
+
storage: {
|
197 |
+
good: `Your storage is healthy with ${deviceInfo.storage.health}% integrity. You're using ${deviceInfo.storage.used}GB out of ${deviceInfo.storage.total}GB. That's ${Math.floor((deviceInfo.storage.used/deviceInfo.storage.total)*100)}% utilization - great job managing your space!`,
|
198 |
+
average: `Your storage health is at ${deviceInfo.storage.health}%. You're using ${deviceInfo.storage.used}GB out of ${deviceInfo.storage.total}GB (${Math.floor((deviceInfo.storage.used/deviceInfo.storage.total
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
</html>
|
prompts.txt
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
create a smartphone doctor app
|
|
|
|
|
|
1 |
+
create a smartphone doctor app
|
2 |
+
create an app that act as a smartphone doctor on mobiles phones not for health doctor but , phones health, from battery, internet speed, camera, etc
|
3 |
+
improve the ui, make it looks smart and powered by ai, let ai answer all the qn
|