Codewithsalty commited on
Commit
7903056
·
verified ·
1 Parent(s): 342c341

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +47 -0
utils.py CHANGED
@@ -1,3 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import torch.nn as nn
2
 
3
  # ================================
@@ -77,3 +123,4 @@ def get_precautions_from_gemini(tumor_type):
77
  "notumor": "Stay healthy and get annual MRI scans if symptoms appear."
78
  }
79
  return precaution_db.get(tumor_type.lower(), "No specific precautions found.")
 
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Models
4
+ Datasets
5
+ Spaces
6
+ Community
7
+ Docs
8
+ Enterprise
9
+ Pricing
10
+
11
+
12
+
13
+ Spaces:
14
+
15
+ Codewithsalty
16
+ /
17
+ brain-tumor-api
18
+
19
+
20
+ like
21
+ 0
22
+
23
+ Logs
24
+ App
25
+ Files
26
+ Community
27
+ Settings
28
+ brain-tumor-api
29
+ /
30
+ utils.py
31
+
32
+ Codewithsalty's picture
33
+ Codewithsalty
34
+ Update utils.py
35
+ dfea2de
36
+ verified
37
+ 33 minutes ago
38
+ raw
39
+
40
+ Copy download link
41
+ history
42
+ blame
43
+ edit
44
+ delete
45
+
46
+ 2.75 kB
47
  import torch.nn as nn
48
 
49
  # ================================
 
123
  "notumor": "Stay healthy and get annual MRI scans if symptoms appear."
124
  }
125
  return precaution_db.get(tumor_type.lower(), "No specific precautions found.")
126
+