karimaloulou commited on
Commit
2ddb527
·
verified ·
1 Parent(s): 2e07d37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def respond(
57
  demo = gr.ChatInterface(
58
  respond,
59
  additional_inputs=[
60
- # 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"),
61
  gr.Textbox(value=f"""<s>[INST] Given these TTPs: {techniques_str}\n\nfigure out which technique is used in these logs and respond in bullets points and nothing else[/INST]""", label="System message"),
62
  gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
63
  gr.Slider(minimum=0.1, maximum=1.0, value=0.1, step=0.1, label="Temperature"),
 
57
  demo = gr.ChatInterface(
58
  respond,
59
  additional_inputs=[
60
+ # gr.Textbox(value=f"""<s>[INST] Given these TTPs: {techniques_str}\n\n and here are {descriptions}\n\nfigure out which major techniques are used in these logs and respond in bullets points and nothing else[/INST]""", label="System message"),
61
  gr.Textbox(value=f"""<s>[INST] Given these TTPs: {techniques_str}\n\nfigure out which technique is used in these logs and respond in bullets points and nothing else[/INST]""", label="System message"),
62
  gr.Slider(minimum=1, maximum=2048, value=1024, step=1, label="Max new tokens"),
63
  gr.Slider(minimum=0.1, maximum=1.0, value=0.1, step=0.1, label="Temperature"),