"examples/community/interpolate_stable_diffusion.py" did not exist on "6b09f370c4184a89276c6891d17f45b9c8e8b4e5"
Commit 8187922e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: "metadata" issue

parent 240a3014
...@@ -356,6 +356,8 @@ async def generate_chat_completion( ...@@ -356,6 +356,8 @@ async def generate_chat_completion(
): ):
idx = 0 idx = 0
payload = {**form_data} payload = {**form_data}
if "metadata" in payload:
payload.pop("metadata") payload.pop("metadata")
model_id = form_data.get("model") model_id = form_data.get("model")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment