solfedge commited on
Commit
e0edb69
·
verified ·
1 Parent(s): 71c32d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import os
5
  from simple_classifier import SimpleRockClassifier
6
 
7
- # Initialize classifier (no training needed)
8
  classifier = SimpleRockClassifier()
9
 
10
  def analyze_core(image):
@@ -32,7 +32,7 @@ def analyze_core(image):
32
  except Exception as e:
33
  response = f"## Error\nAn error occurred during analysis: {str(e)}"
34
 
35
- # Clean up
36
  if os.path.exists(temp_path):
37
  os.remove(temp_path)
38
 
 
4
  import os
5
  from simple_classifier import SimpleRockClassifier
6
 
7
+
8
  classifier = SimpleRockClassifier()
9
 
10
  def analyze_core(image):
 
32
  except Exception as e:
33
  response = f"## Error\nAn error occurred during analysis: {str(e)}"
34
 
35
+
36
  if os.path.exists(temp_path):
37
  os.remove(temp_path)
38