simonduerr commited on
Commit
1825dee
1 Parent(s): 7d63449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,7 +1,11 @@
 
 
 
1
  import gradio as gr
2
  from gradio_molecule3d import Molecule3D
3
  from gradio_cofoldinginput import CofoldingInput
4
 
 
5
  def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
6
  return ""
7
 
 
1
+ import spaces
2
+
3
+
4
  import gradio as gr
5
  from gradio_molecule3d import Molecule3D
6
  from gradio_cofoldinginput import CofoldingInput
7
 
8
+ @spaces.GPU
9
  def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples):
10
  return ""
11