Spaces:
Running
on
T4
Running
on
T4
yuntian-deng
commited on
Commit
•
f632fa0
1
Parent(s):
f5f4870
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks() as demo:
|
|
77 |
inputs = [textbox]
|
78 |
outputs = [slider, image, submit_btn]
|
79 |
|
80 |
-
@spaces.GPU
|
81 |
def infer(formula):
|
82 |
current_time = datetime.now(tz)
|
83 |
print (current_time, formula)
|
|
|
77 |
inputs = [textbox]
|
78 |
outputs = [slider, image, submit_btn]
|
79 |
|
80 |
+
@spaces.GPU(duration=120)
|
81 |
def infer(formula):
|
82 |
current_time = datetime.now(tz)
|
83 |
print (current_time, formula)
|