syubraj commited on
Commit
ce1cea6
1 Parent(s): 25d11ba

Upload folder using huggingface_hub

Browse files
.idea/workspace.xml CHANGED
@@ -20,9 +20,9 @@
20
  <component name="Git.Settings">
21
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
22
  </component>
23
- <component name="ProjectColorInfo"><![CDATA[{
24
- "associatedIndex": 8
25
- }]]></component>
26
  <component name="ProjectId" id="2iAkUe6fUvTFkpeqnkXGlbeGHqK" />
27
  <component name="ProjectViewState">
28
  <option name="hideEmptyMiddlePackages" value="true" />
@@ -34,7 +34,7 @@
34
  "Python.main.executor": "Run",
35
  "RunOnceActivity.ShowReadmeOnStart": "true",
36
  "git-widget-placeholder": "master",
37
- "last_opened_file_path": "/home/ubuntu/Documents/Fold1/Oxygen Level Intensity Mapper"
38
  }
39
  }]]></component>
40
  <component name="RunManager" selected="Python.app">
 
20
  <component name="Git.Settings">
21
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
22
  </component>
23
+ <component name="ProjectColorInfo">{
24
+ &quot;associatedIndex&quot;: 8
25
+ }</component>
26
  <component name="ProjectId" id="2iAkUe6fUvTFkpeqnkXGlbeGHqK" />
27
  <component name="ProjectViewState">
28
  <option name="hideEmptyMiddlePackages" value="true" />
 
34
  "Python.main.executor": "Run",
35
  "RunOnceActivity.ShowReadmeOnStart": "true",
36
  "git-widget-placeholder": "master",
37
+ "last_opened_file_path": "/home/ubuntu/Documents/vertex-projects/image_embedder"
38
  }
39
  }]]></component>
40
  <component name="RunManager" selected="Python.app">
Gradio_Images/uploaded_image_48649eb8-0357-4601-af75-160059f0a8ff.jpg ADDED
Gradio_Images/uploaded_image_78781a79-b071-4550-a473-39bf6e9ffe57.jpg ADDED
Gradio_Images/uploaded_image_7fb6d6f5-8703-4e37-ac8b-024c760bb3c4.jpg ADDED
Gradio_Images/uploaded_image_ba76898d-24b8-4026-90ad-84b66755ed8b.jpg ADDED
Gradio_Images/uploaded_image_f595bb75-930d-486e-8d6b-6bc913a2f7ef.jpg ADDED
Heatmap_Images/heatmap_48649eb8-0357-4601-af75-160059f0a8ff.jpg ADDED
Heatmap_Images/heatmap_7fb6d6f5-8703-4e37-ac8b-024c760bb3c4.jpg ADDED
Heatmap_Images/heatmap_ba76898d-24b8-4026-90ad-84b66755ed8b.jpg ADDED
Heatmap_Images/heatmap_f595bb75-930d-486e-8d6b-6bc913a2f7ef.jpg ADDED
__pycache__/app.cpython-310.pyc ADDED
Binary file (541 Bytes). View file
 
__pycache__/main.cpython-310.pyc CHANGED
Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ
 
main.py CHANGED
@@ -83,7 +83,7 @@ def generate_heatmap(data, output_path):
83
  Generate a high-resolution heatmap from data and save it as an image.
84
  """
85
  plt.figure(figsize=(10, 8))
86
- plt.imshow(data, cmap='RdBu_r', interpolation='nearest', norm=mcolors.Normalize(vmin=0, vmax=20))
87
  plt.colorbar(label='Oxygen Level (%)')
88
 
89
  # Save the figure with high resolution
 
83
  Generate a high-resolution heatmap from data and save it as an image.
84
  """
85
  plt.figure(figsize=(10, 8))
86
+ plt.imshow(data, cmap='hot', interpolation='nearest', norm=mcolors.Normalize(vmin=0, vmax=20))
87
  plt.colorbar(label='Oxygen Level (%)')
88
 
89
  # Save the figure with high resolution