tomy007 commited on
Commit
d6eec00
·
verified ·
1 Parent(s): 59eef8e

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -488,7 +488,7 @@ def filter_input_with_llama_guard(user_input, model="llama-guard-3-8b"):
488
  st.write(response.choices[0].message.content.strip());
489
  return response.choices[0].message.content.strip()
490
  except Exception as e:
491
- st.write("Error with Llama Guard: {e}");
492
  print(f"Error with Llama Guard: {e}")
493
  return None
494
 
 
488
  st.write(response.choices[0].message.content.strip());
489
  return response.choices[0].message.content.strip()
490
  except Exception as e:
491
+ st.write(f"Error with Llama Guard: {e}");
492
  print(f"Error with Llama Guard: {e}")
493
  return None
494