Spaces:
Sleeping
Sleeping
Update app_regression.py
Browse files- app_regression.py +2 -2
app_regression.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import spaces
|
3 |
import os
|
4 |
import time
|
5 |
import json
|
@@ -85,7 +85,7 @@ aspect_mapping= [
|
|
85 |
]
|
86 |
|
87 |
|
88 |
-
|
89 |
def score(prompt:str, images:List[Image.Image]):
|
90 |
if not prompt:
|
91 |
raise gr.Error("Please provide a prompt")
|
|
|
1 |
import gradio as gr
|
2 |
+
#import spaces
|
3 |
import os
|
4 |
import time
|
5 |
import json
|
|
|
85 |
]
|
86 |
|
87 |
|
88 |
+
#@spaces.GPU(duration=60)
|
89 |
def score(prompt:str, images:List[Image.Image]):
|
90 |
if not prompt:
|
91 |
raise gr.Error("Please provide a prompt")
|