toshas commited on
Commit
84a590f
1 Parent(s): b29d871

revert duration

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: RollingDepth
3
- emoji: 🛹
4
  colorFrom: yellow
5
  colorTo: pink
6
  sdk: gradio
 
1
  ---
2
  title: RollingDepth
3
+ emoji: 🛹🛹🛹
4
  colorFrom: yellow
5
  colorTo: pink
6
  sdk: gradio
app.py CHANGED
@@ -126,7 +126,7 @@ def process(pipe, device, path_input):
126
 
127
 
128
  def run_demo_server(pipe, device):
129
- process_pipe = spaces.GPU(functools.partial(process, pipe, device))
130
  os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
131
 
132
  with gr.Blocks(
@@ -149,7 +149,7 @@ def run_demo_server(pipe, device):
149
  ) as demo:
150
  gr.HTML(
151
  """
152
- <h1>🛹 RollingDepth: Video Depth without Video Models</h1>
153
  <div style="text-align: center; margin-top: 20px;">
154
  <a title="Website" href="https://rollingdepth.github.io" target="_blank" rel="noopener noreferrer" style="display: inline-block; margin-right: 4px;">
155
  <img src="https://www.obukhov.ai/img/badges/badge-website.svg" alt="Website Badge">
 
126
 
127
 
128
  def run_demo_server(pipe, device):
129
+ process_pipe = spaces.GPU(functools.partial(process, pipe, device), duration=120)
130
  os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
131
 
132
  with gr.Blocks(
 
149
  ) as demo:
150
  gr.HTML(
151
  """
152
+ <h1>🛹 RollingDepth 🛹: Video Depth without Video Models</h1>
153
  <div style="text-align: center; margin-top: 20px;">
154
  <a title="Website" href="https://rollingdepth.github.io" target="_blank" rel="noopener noreferrer" style="display: inline-block; margin-right: 4px;">
155
  <img src="https://www.obukhov.ai/img/badges/badge-website.svg" alt="Website Badge">