Update app.py

This commit is contained in:
Baize 2023-04-02 05:25:59 +00:00 committed by huggingface-web
parent fdf1396367
commit 38cd73390d
1 changed files with 2 additions and 2 deletions

4
app.py
View File

@ -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",