prithivMLmods commited on
Commit
d0005b8
·
verified ·
1 Parent(s): 4bc5495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import gradio as gr
2
 
3
- spaces.GPU(queue=False)
 
 
 
 
4
  def main():
5
 
6
  # Define the components using the specified URLs
 
1
  import gradio as gr
2
 
3
+ # Import spaces from gradio
4
+ from gradio import spaces
5
+
6
+ # Assign GPU to the overall spaces
7
+ @spaces.GPU(queue=False)
8
  def main():
9
 
10
  # Define the components using the specified URLs