wt002 commited on
Commit
46328b5
·
verified ·
1 Parent(s): b228ff5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -24,6 +24,13 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
24
 
25
 
26
 
 
 
 
 
 
 
 
27
  # --- Utility Functions ---
28
  def extract_youtube_id(url: str) -> str:
29
  """Extract YouTube ID from various URL formats"""
 
24
 
25
 
26
 
27
+ from typing import Optional
28
+ from pydantic import BaseModel
29
+
30
+ class InputSchema(BaseModel):
31
+ include_timestamps: Optional[bool] = None
32
+
33
+
34
  # --- Utility Functions ---
35
  def extract_youtube_id(url: str) -> str:
36
  """Extract YouTube ID from various URL formats"""