Spaces:
Sleeping
Sleeping
Fix: Enforce consistent indentation for api_interface to resolve IndentationError
Browse files
app.py
CHANGED
|
@@ -244,7 +244,7 @@ def process_video_input(input_string: str) -> Dict[str, Any]:
|
|
| 244 |
# Gradio Interface for the API endpoint
|
| 245 |
api_interface = gr.Interface(
|
| 246 |
fn=process_video_input,
|
| 247 |
-
inputs=gr.Textbox(lines=1, label="Video URL or Local File Path for Interpretation"
|
| 248 |
placeholder="Enter YouTube URL, direct video URL (.mp4, .mov, etc.), or local file path..."),
|
| 249 |
outputs=gr.JSON(label="API Response"),
|
| 250 |
title="Video Interpretation Input",
|
|
|
|
| 244 |
# Gradio Interface for the API endpoint
|
| 245 |
api_interface = gr.Interface(
|
| 246 |
fn=process_video_input,
|
| 247 |
+
inputs=gr.Textbox(lines=1, label="Video URL or Local File Path for Interpretation",
|
| 248 |
placeholder="Enter YouTube URL, direct video URL (.mp4, .mov, etc.), or local file path..."),
|
| 249 |
outputs=gr.JSON(label="API Response"),
|
| 250 |
title="Video Interpretation Input",
|