TuringsSolutions
commited on
Commit
•
ed13d86
1
Parent(s):
5d16554
Update app.py
Browse files
app.py
CHANGED
@@ -19,9 +19,9 @@ def predict(prompt, temperature, max_tokens):
|
|
19 |
iface = gr.Interface(
|
20 |
fn=predict,
|
21 |
inputs=[
|
22 |
-
gr.
|
23 |
-
gr.
|
24 |
-
gr.
|
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",
|