Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
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 |
|