BlinkDL commited on
Commit
2b73ce3
1 Parent(s): d7e18bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -88,13 +88,13 @@ examples = [
88
 
89
  iface = gr.Interface(
90
  fn=infer,
91
- description=f'''==> Please try examples first (bottom of page) <== (edit them to use your question). Demo limited to ctxlen {ctx_limit}. {desc}''',
92
  allow_flagging="never",
93
  inputs=[
94
- gr.Textbox(lines=10, label="Prompt", value="Expert Questions & Helpful Answers\nAsk Research Experts\nQuestion:\nHow can we eliminate poverty?\n\nFull Answer:\n"), # prompt
95
  gr.Slider(10, 200, step=10, value=100), # token_count
96
  gr.Slider(0.2, 2.0, step=0.1, value=1.0), # temperature
97
- gr.Slider(0.0, 1.0, step=0.05, value=0.8), # top_p
98
  gr.Slider(0.0, 1.0, step=0.1, value=0.1), # presencePenalty
99
  gr.Slider(0.0, 1.0, step=0.1, value=0.1), # countPenalty
100
  ],
 
88
 
89
  iface = gr.Interface(
90
  fn=infer,
91
+ description=f'''{desc} *** <b>Please try examples first (bottom of page)</b> *** (edit them to use your question). Demo limited to ctxlen {ctx_limit}.''',
92
  allow_flagging="never",
93
  inputs=[
94
+ gr.Textbox(lines=10, label="Prompt", value="Here's a short cyberpunk sci-fi adventure story. The story's main character is an artificial human created by a company called OpenBot.\n\nThe Story:\n"), # prompt
95
  gr.Slider(10, 200, step=10, value=100), # token_count
96
  gr.Slider(0.2, 2.0, step=0.1, value=1.0), # temperature
97
+ gr.Slider(0.0, 1.0, step=0.05, value=0.85), # top_p
98
  gr.Slider(0.0, 1.0, step=0.1, value=0.1), # presencePenalty
99
  gr.Slider(0.0, 1.0, step=0.1, value=0.1), # countPenalty
100
  ],