Spaces:
Sleeping
Sleeping
Update app_enhance.py
Browse files- app_enhance.py +1 -1
app_enhance.py
CHANGED
|
@@ -53,7 +53,7 @@ def enhance_image(img_a: str, img_b: str, mode: str) -> Tuple[str, str]:
|
|
| 53 |
write_gif(gif_path)
|
| 54 |
return gif_path, gif_path
|
| 55 |
except subprocess.CalledProcessError as e:
|
| 56 |
-
raise gr.Error(f"
|
| 57 |
|
| 58 |
# Gradio UI
|
| 59 |
def build_interface():
|
|
|
|
| 53 |
write_gif(gif_path)
|
| 54 |
return gif_path, gif_path
|
| 55 |
except subprocess.CalledProcessError as e:
|
| 56 |
+
raise gr.Error(f"Interpolation failed: {e}")
|
| 57 |
|
| 58 |
# Gradio UI
|
| 59 |
def build_interface():
|