|
@@ -140,7 +140,9 @@ def get_upload_url(file_path: str) -> Var[str]:
|
|
|
"""
|
|
|
Upload.is_used = True
|
|
|
|
|
|
- return Var.create_safe(f"{uploaded_files_url_prefix}/{file_path}")
|
|
|
+ return Var.create_safe(
|
|
|
+ f"{uploaded_files_url_prefix}/{file_path}", _var_is_string=True
|
|
|
+ )
|
|
|
|
|
|
|
|
|
def _on_drop_spec(files: Var):
|