Update app.py
This commit is contained in:
parent
fdf1396367
commit
38cd73390d
4
app.py
4
app.py
|
@ -57,7 +57,7 @@ def predict(text,
|
||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
print(prompt)
|
print(text)
|
||||||
print(x)
|
print(x)
|
||||||
print("="*80)
|
print("="*80)
|
||||||
try:
|
try:
|
||||||
|
@ -139,7 +139,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
||||||
max_length_tokens = gr.Slider(
|
max_length_tokens = gr.Slider(
|
||||||
minimum=0,
|
minimum=0,
|
||||||
maximum=512,
|
maximum=512,
|
||||||
value=512,
|
value=256,
|
||||||
step=8,
|
step=8,
|
||||||
interactive=True,
|
interactive=True,
|
||||||
label="Max Generation Tokens",
|
label="Max Generation Tokens",
|
||||||
|
|
Loading…
Reference in New Issue