P3ngLiu commited on
Commit
84e7bff
·
verified ·
1 Parent(s): 93d532e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
 
2
 
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
 
1
  import gradio as gr
2
+ import spaces
3
 
4
+ @spaces.GPU
5
  def greet(name):
6
  return "Hello " + name + "!!"
7