aedupuga commited on
Commit
c4a7e22
·
verified ·
1 Parent(s): 99c00a1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +25 -12
README.md CHANGED
@@ -1,12 +1,25 @@
1
- ---
2
- title: Gradio Tabular
3
- emoji: 🐨
4
- colorFrom: purple
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 5.47.2
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ # Device Use Before Sleep Predictor
3
+
4
+ This Gradio Space hosts a machine learning model that predicts whether a student uses their device before sleep based on various factors related to their device usage and sleeping habits.
5
+
6
+ ## How to use
7
+
8
+ Interact with the input fields to provide information about a student's habits:
9
+
10
+ * **phone_hours:** The average number of hours spent on a phone per day (decimal).
11
+ * **computer_hours:** The average number of hours spent on a computer per day (decimal).
12
+ * **device_count:** The total number of devices the student owns (integer).
13
+ * **sleep_quality:** The student's self-reported sleep quality (select from "Poor", "Fair", "Good", "Excellent").
14
+ * **sleep_time:** The approximate time the student goes to sleep in 24-hour format (integer, e.g., 2200 for 10 PM, 100 for 1 AM).
15
+ * **sleep_hours:** The average number of hours the student sleeps per night (decimal).
16
+
17
+ The app will output the predicted outcome ("Uses device before bed" or "Does not use device before bed") and the confidence score for the prediction.
18
+
19
+ ## Examples
20
+
21
+ Here are a few representative examples you can try:
22
+
23
+ * Phone Hours: 2.0, Computer Hours: 3.0, Device Count: 3, Sleep Quality: Good, Sleep Time: 2200, Sleep Hours: 8.0
24
+ * Phone Hours: 5.0, Computer Hours: 6.0, Device Count: 5, Sleep Quality: Fair, Sleep Time: 100, Sleep Hours: 6.0
25
+ * Phone Hours: 1.0, Computer Hours: 1.0, Device Count: 1, Sleep Quality: Excellent, Sleep Time: 2300, Sleep Hours: 9.0