TuringsSolutions commited on
Commit
ed13d86
1 Parent(s): 5d16554

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,9 +19,9 @@ def predict(prompt, temperature, max_tokens):
19
  iface = gr.Interface(
20
  fn=predict,
21
  inputs=[
22
- gr.inputs.Textbox(lines=2, placeholder="Enter your prompt here..."),
23
- gr.inputs.Slider(minimum=0.1, maximum=1.0, default=0.7, label="Temperature"),
24
- gr.inputs.Slider(minimum=10, maximum=200, default=50, step=10, label="Number of Output Tokens")
25
  ],
26
  outputs="text",
27
  title="Phi3 Law Case Management Model",
 
19
  iface = gr.Interface(
20
  fn=predict,
21
  inputs=[
22
+ gr.Textbox(lines=2, placeholder="Enter your prompt here..."),
23
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.7, label="Temperature"),
24
+ gr.Slider(minimum=10, maximum=200, value=50, step=10, label="Number of Output Tokens")
25
  ],
26
  outputs="text",
27
  title="Phi3 Law Case Management Model",