Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def predict(
|
|
110 |
):
|
111 |
if image_path is None and audio_path is None and video_path is None and thermal_path is None:
|
112 |
# return [(input, "εΎηει³ι’δ»₯εθ§ι’δΈΊη©ΊοΌθ―·ιζ°δΈδΌ ζθ½εΌε―ε―Ήθ―γ")]
|
113 |
-
gr.Error(
|
114 |
else:
|
115 |
print(f'[!] image path: {image_path}\n[!] audio path: {audio_path}\n[!] video path: {video_path}\n[!] thermal path: {thermal_path}')
|
116 |
|
|
|
110 |
):
|
111 |
if image_path is None and audio_path is None and video_path is None and thermal_path is None:
|
112 |
# return [(input, "εΎηει³ι’δ»₯εθ§ι’δΈΊη©ΊοΌθ―·ιζ°δΈδΌ ζθ½εΌε―ε―Ήθ―γ")]
|
113 |
+
gr.Error("εΎηει³ι’δ»₯εθ§ι’δΈΊη©ΊοΌθ―·ιζ°δΈδΌ ζθ½εΌε―ε―Ήθ―γ")
|
114 |
else:
|
115 |
print(f'[!] image path: {image_path}\n[!] audio path: {audio_path}\n[!] video path: {video_path}\n[!] thermal path: {thermal_path}')
|
116 |
|