AbuSaleh28 commited on
Commit
1c7f0b8
·
verified ·
1 Parent(s): a6bbdc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ else:
17
  # Initialize the Groq client
18
  client = Groq(api_key=api_key)
19
 
 
 
20
  def generate_roadmap(domain, level, duration):
21
  # Ensure the client is initialized with an API key before trying to make a call
22
  if not api_key:
 
17
  # Initialize the Groq client
18
  client = Groq(api_key=api_key)
19
 
20
+ @spaces.GPU
21
+
22
  def generate_roadmap(domain, level, duration):
23
  # Ensure the client is initialized with an API key before trying to make a call
24
  if not api_key: