michaelmc1618 commited on
Commit
6e460e9
·
verified ·
1 Parent(s): 5d20225

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -111,11 +111,11 @@ with gr.Blocks(css=custom_css) as demo:
111
 
112
  with gr.Tab("Argument Evaluation"):
113
  message = gr.Textbox(label="Case to Argue")
114
- system_message1 = "System message for bot 1"
115
- system_message2 = "System message for bot 2"
116
- max_tokens = 150
117
- temperature = 0.6
118
- top_p = 0.95
119
 
120
  prosecutor_response = gr.Textbox(label="Prosecutor Response", interactive=False)
121
  defense_response = gr.Textbox(label="Defense Response", interactive=False)
 
111
 
112
  with gr.Tab("Argument Evaluation"):
113
  message = gr.Textbox(label="Case to Argue")
114
+ system_message1 = gr.Textbox(value="System message for bot 1")
115
+ system_message2 = gr.Textbox(value="System message for bot 2")
116
+ max_tokens = gr.Slider(1, 512, value=150)
117
+ temperature = gr.Slider(0.0, 1.0, value=0.6)
118
+ top_p = gr.Slider(0.0, 1.0, value=0.95)
119
 
120
  prosecutor_response = gr.Textbox(label="Prosecutor Response", interactive=False)
121
  defense_response = gr.Textbox(label="Defense Response", interactive=False)