Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,10 +30,10 @@ Inferece = gr.Interface(
|
|
30 |
fn=code_gen,
|
31 |
inputs=[
|
32 |
gr.components.Textbox(label="Input what you want, the AI will make the code for you."),
|
33 |
-
gr.components.Slider(minimum=128, maximum=
|
34 |
-
gr.components.Slider(minimum=0.1, maximum=1, step=0.05, label="Choose the model Temperature"),
|
35 |
-
gr.components.Slider(minimum=0.1, maximum=1.25, step=0.05, label="Choose top_p"),
|
36 |
-
gr.components.Slider(minimum=0.1, maximum=2, step=0.1, label="Choose repetition_penalty")
|
37 |
],
|
38 |
outputs="text",
|
39 |
title="AI Code Gen",
|
|
|
30 |
fn=code_gen,
|
31 |
inputs=[
|
32 |
gr.components.Textbox(label="Input what you want, the AI will make the code for you."),
|
33 |
+
gr.components.Slider(minimum=128, maximum=1024, step=128, value=512, label="Choose Max Token Size"),
|
34 |
+
gr.components.Slider(minimum=0.1, maximum=1, step=0.05, value=0.65, label="Choose the model Temperature"),
|
35 |
+
gr.components.Slider(minimum=0.1, maximum=1.25, step=0.05, value=0.9, label="Choose top_p"),
|
36 |
+
gr.components.Slider(minimum=0.1, maximum=2, step=0.1, value=1.15, label="Choose repetition_penalty")
|
37 |
],
|
38 |
outputs="text",
|
39 |
title="AI Code Gen",
|