afrizalha commited on
Commit
45bc2a4
·
verified ·
1 Parent(s): 5fc26ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", info="Built with the Phi-3 architecture", 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)
 
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)