Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -88,13 +88,13 @@ examples = [
|
|
88 |
|
89 |
iface = gr.Interface(
|
90 |
fn=infer,
|
91 |
-
description=f'''
|
92 |
allow_flagging="never",
|
93 |
inputs=[
|
94 |
-
gr.Textbox(lines=10, label="Prompt", value="
|
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.
|
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 |
],
|