Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
c2092fa
1
Parent(s):
46fd059
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import logging
|
|
8 |
import math
|
9 |
from tqdm import tqdm
|
10 |
import time
|
11 |
-
import spaces
|
12 |
|
13 |
#logging.basicConfig(level=logging.DEBUG)
|
14 |
|
@@ -28,7 +27,6 @@ def update_selection(selected_state: gr.SelectData):
|
|
28 |
selected_state
|
29 |
)
|
30 |
|
31 |
-
@spaces.GPU
|
32 |
def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
|
33 |
logging.debug(f"Inside run_lora, selected_state: {selected_state}")
|
34 |
if not selected_state:
|
|
|
8 |
import math
|
9 |
from tqdm import tqdm
|
10 |
import time
|
|
|
11 |
|
12 |
#logging.basicConfig(level=logging.DEBUG)
|
13 |
|
|
|
27 |
selected_state
|
28 |
)
|
29 |
|
|
|
30 |
def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
|
31 |
logging.debug(f"Inside run_lora, selected_state: {selected_state}")
|
32 |
if not selected_state:
|