Spaces:
Runtime error
Runtime error
Update tool.py
Browse files
tool.py
CHANGED
|
@@ -9,7 +9,7 @@ from PIL import Image
|
|
| 9 |
import pandas as pd
|
| 10 |
import uuid
|
| 11 |
from youtube_transcript_api import YouTubeTranscriptApi
|
| 12 |
-
|
| 13 |
|
| 14 |
@tool
|
| 15 |
def save_and_read_file(content: str, filename: Optional[str] = None) -> str:
|
|
|
|
| 9 |
import pandas as pd
|
| 10 |
import uuid
|
| 11 |
from youtube_transcript_api import YouTubeTranscriptApi
|
| 12 |
+
from typing import Optional
|
| 13 |
|
| 14 |
@tool
|
| 15 |
def save_and_read_file(content: str, filename: Optional[str] = None) -> str:
|