Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ def filter_caption_start(caption):
|
|
166 |
|
167 |
|
168 |
@torch.no_grad()
|
169 |
-
def stream_chat(folder_path: str, caption_type: str, caption_length: str | int, extra_options: list[str], name_input: str, custom_prompt: str
|
170 |
folder_path = Path(folder_path)
|
171 |
if not folder_path.is_dir():
|
172 |
return "Invalid folder path."
|
|
|
166 |
|
167 |
|
168 |
@torch.no_grad()
|
169 |
+
def stream_chat(folder_path: str, caption_type: str, caption_length: str | int, extra_options: list[str], name_input: str, custom_prompt: str):
|
170 |
folder_path = Path(folder_path)
|
171 |
if not folder_path.is_dir():
|
172 |
return "Invalid folder path."
|