Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def generate(starting_text, choice, temp, top_p):
|
|
35 |
|
36 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
37 |
starting_text = gr.Textbox(label="Starting text", value="cinta adalah")
|
38 |
-
res = gr.Textbox(label="Continuation", value="cinta adalah")
|
39 |
choice = gr.Radio(["7M", "25M", "Info"], label="Select model", info="Built with the Phi-3 architecture", value='Info')
|
40 |
temp = gr.Slider(label="Temperature", minimum=0.1, maximum=1.0, step=0.1, value=0.7)
|
41 |
top_p = gr.Slider(label="Top P", minimum=0.1, maximum=1.0, step=0.1, value=0.5)
|
|
|
35 |
|
36 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
37 |
starting_text = gr.Textbox(label="Starting text", value="cinta adalah")
|
38 |
+
res = gr.Textbox(label="Continuation", value="cinta adalah", scale=2)
|
39 |
choice = gr.Radio(["7M", "25M", "Info"], label="Select model", info="Built with the Phi-3 architecture", value='Info')
|
40 |
temp = gr.Slider(label="Temperature", minimum=0.1, maximum=1.0, step=0.1, value=0.7)
|
41 |
top_p = gr.Slider(label="Top P", minimum=0.1, maximum=1.0, step=0.1, value=0.5)
|