Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def generate(starting_text=None, choice=None, temp=None, top_p=None):
|
|
38 |
|
39 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
40 |
starting_text = gr.Textbox(label="Starting text", value="cinta adalah")
|
41 |
-
choice = gr.Radio(["7M", "25M", "Info"], label="Select model",
|
42 |
with gr.Row():
|
43 |
temp = gr.Slider(label="Temperature", minimum=0.1, maximum=1.0, step=0.1, value=0.7)
|
44 |
top_p = gr.Slider(label="Top P", minimum=0.1, maximum=1.0, step=0.1, value=0.5)
|
|
|
38 |
|
39 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
40 |
starting_text = gr.Textbox(label="Starting text", value="cinta adalah")
|
41 |
+
choice = gr.Radio(["7M", "25M", "Info"], label="Select model", value='Info')
|
42 |
with gr.Row():
|
43 |
temp = gr.Slider(label="Temperature", minimum=0.1, maximum=1.0, step=0.1, value=0.7)
|
44 |
top_p = gr.Slider(label="Top P", minimum=0.1, maximum=1.0, step=0.1, value=0.5)
|