chore: format
This commit is contained in:
@@ -583,6 +583,7 @@ def update_file_data_content_by_id(
|
||||
request,
|
||||
ProcessFileForm(file_id=id, content=form_data.content),
|
||||
user=user,
|
||||
db=db,
|
||||
)
|
||||
file = Files.get_file_by_id(id=id, db=db)
|
||||
except Exception as e:
|
||||
|
||||
@@ -1747,7 +1747,9 @@ async def download_file_stream(
|
||||
|
||||
yield f"data: {json.dumps(res)}\n\n"
|
||||
else:
|
||||
raise RuntimeError("Ollama: Could not create blob, Please try again.")
|
||||
raise RuntimeError(
|
||||
"Ollama: Could not create blob, Please try again."
|
||||
)
|
||||
|
||||
|
||||
# url = "https://huggingface.co/TheBloke/stablelm-zephyr-3b-GGUF/resolve/main/stablelm-zephyr-3b.Q2_K.gguf"
|
||||
|
||||
Reference in New Issue
Block a user