0x7o commited on
Commit
fc21262
Β·
verified Β·
1 Parent(s): 0ad4d13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def predict(prompt, temperature, max_length):
15
  demo = gr.Interface(
16
  fn=predict,
17
  title="mGPT-13B Demo",
18
- inputs=["text", gr.Slider(minimum=0.01, maximum=1.0, value=0.7), gr.Slider(minimum=1, maximum=1024, value=50)],
19
  outputs=["text"],
20
  )
21
 
 
15
  demo = gr.Interface(
16
  fn=predict,
17
  title="mGPT-13B Demo",
18
+ inputs=["text", gr.Slider(minimum=0.01, maximum=1.0, value=0.7, label="temperature"), gr.Slider(minimum=1, maximum=1024, value=50, label="max_length")],
19
  outputs=["text"],
20
  )
21