Spaces:
Running
on
T4
Running
on
T4
yuntian-deng
commited on
Commit
•
e951fbb
1
Parent(s):
879668b
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(duration=
|
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=60)
|
81 |
def infer(formula):
|
82 |
current_time = datetime.now(tz)
|
83 |
print (current_time, formula)
|