Spaces:
Running
on
T4
Running
on
T4
yuntian-deng
commited on
Commit
•
101ae48
1
Parent(s):
e951fbb
Update app.py
Browse files
app.py
CHANGED
@@ -77,6 +77,7 @@ with gr.Blocks() as demo:
|
|
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)
|
|
|
77 |
inputs = [textbox]
|
78 |
outputs = [slider, image, submit_btn]
|
79 |
|
80 |
+
# duration is set to default to avoid quota issues
|
81 |
@spaces.GPU(duration=60)
|
82 |
def infer(formula):
|
83 |
current_time = datetime.now(tz)
|