Spaces:
Paused
Paused
removing zerogpu
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from __future__ import annotations
|
| 2 |
import math
|
| 3 |
import random
|
| 4 |
-
import spaces
|
| 5 |
import gradio as gr
|
| 6 |
import numpy as np
|
| 7 |
import torch
|
|
@@ -59,7 +59,7 @@ def promptifier(prompt):
|
|
| 59 |
return stream
|
| 60 |
|
| 61 |
# Generator
|
| 62 |
-
@spaces.GPU(duration=60, queue=False)
|
| 63 |
def king(type ,
|
| 64 |
input_image ,
|
| 65 |
instruction: str ,
|
|
|
|
| 1 |
from __future__ import annotations
|
| 2 |
import math
|
| 3 |
import random
|
| 4 |
+
# import spaces
|
| 5 |
import gradio as gr
|
| 6 |
import numpy as np
|
| 7 |
import torch
|
|
|
|
| 59 |
return stream
|
| 60 |
|
| 61 |
# Generator
|
| 62 |
+
# @spaces.GPU(duration=60, queue=False)
|
| 63 |
def king(type ,
|
| 64 |
input_image ,
|
| 65 |
instruction: str ,
|