mabera commited on
Commit
dbbb93e
·
verified ·
1 Parent(s): 61fedaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import gradio as gr
 
2
 
3
  # Nigeria Agriculture AI Demo
4
  # AutoScientist Challenge 2026, Part 2 | Agriculture Category
@@ -28,6 +29,7 @@ FERTILIZER_EXAMPLES = {
28
  },
29
  }
30
 
 
31
  def interpret_fertilizer_stats(selected_example, custom_stats):
32
  if custom_stats and custom_stats.strip():
33
  return f"""
 
1
  import gradio as gr
2
+ import spaces
3
 
4
  # Nigeria Agriculture AI Demo
5
  # AutoScientist Challenge 2026, Part 2 | Agriculture Category
 
29
  },
30
  }
31
 
32
+ @spaces.GPU
33
  def interpret_fertilizer_stats(selected_example, custom_stats):
34
  if custom_stats and custom_stats.strip():
35
  return f"""