karimaloulou commited on
Commit
4a64e29
·
verified ·
1 Parent(s): 61e2487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
62
  demo = gr.ChatInterface(
63
  respond,
64
  additional_inputs=[
65
- gr.Textbox(value=f"""<s>[INST] Given these TTPs: {techniques_str}\n\n and here are {descriptions}\n\nfigure out which technique is used in these logs and respond in bullets points and nothing else :\n{log_line}\n[/INST]""", label="System message"),
66
  gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
67
  gr.Slider(minimum=0.1, maximum=1.0, value=0.1, step=0.1, label="Temperature"),
68
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
 
62
  demo = gr.ChatInterface(
63
  respond,
64
  additional_inputs=[
65
+ gr.Textbox(value=f"""<s>[INST] Given these TTPs: {techniques_str}\n\n and here are {descriptions}\n\nfigure out which technique is used in these logs and respond in bullets points and nothing else[/INST]""", label="System message"),
66
  gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
67
  gr.Slider(minimum=0.1, maximum=1.0, value=0.1, step=0.1, label="Temperature"),
68
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),