Update interface.py
Browse files- interface.py +1 -0
interface.py
CHANGED
@@ -47,6 +47,7 @@ def generate_analysis(prompt, max_length=MAX_LENGTH, device=None):
|
|
47 |
except Exception as e:
|
48 |
return f"Ocurrió un error durante el análisis: {e}"
|
49 |
|
|
|
50 |
def parse_bounds(bounds_str, num_params):
|
51 |
try:
|
52 |
bounds = eval(f"[{bounds_str}]")
|
|
|
47 |
except Exception as e:
|
48 |
return f"Ocurrió un error durante el análisis: {e}"
|
49 |
|
50 |
+
@spaces.GPU(duration=100)
|
51 |
def parse_bounds(bounds_str, num_params):
|
52 |
try:
|
53 |
bounds = eval(f"[{bounds_str}]")
|