Maximofn commited on
Commit
ed4e872
·
verified ·
1 Parent(s): 672dbd2

Update app.py

Browse files

Add @spaces.GPU

Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import gradio as gr
2
  import argparse
 
3
  # import os
4
  # import torch
5
  # from time import sleep
@@ -652,6 +653,7 @@ import argparse
652
  # gr.Textbox(value="Waiting", visible=visible),
653
  # )
654
 
 
655
  def subtify():
656
  with gr.Blocks(
657
  theme=gr.themes.Default().set
 
1
  import gradio as gr
2
  import argparse
3
+ import spaces
4
  # import os
5
  # import torch
6
  # from time import sleep
 
653
  # gr.Textbox(value="Waiting", visible=visible),
654
  # )
655
 
656
+ @spaces.GPU
657
  def subtify():
658
  with gr.Blocks(
659
  theme=gr.themes.Default().set