Spaces:
Runtime error
Runtime error
project-baize
commited on
Commit
•
38cd733
1
Parent(s):
fdf1396
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def predict(text,
|
|
57 |
return
|
58 |
except:
|
59 |
pass
|
60 |
-
print(
|
61 |
print(x)
|
62 |
print("="*80)
|
63 |
try:
|
@@ -139,7 +139,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
139 |
max_length_tokens = gr.Slider(
|
140 |
minimum=0,
|
141 |
maximum=512,
|
142 |
-
value=
|
143 |
step=8,
|
144 |
interactive=True,
|
145 |
label="Max Generation Tokens",
|
|
|
57 |
return
|
58 |
except:
|
59 |
pass
|
60 |
+
print(text)
|
61 |
print(x)
|
62 |
print("="*80)
|
63 |
try:
|
|
|
139 |
max_length_tokens = gr.Slider(
|
140 |
minimum=0,
|
141 |
maximum=512,
|
142 |
+
value=256,
|
143 |
step=8,
|
144 |
interactive=True,
|
145 |
label="Max Generation Tokens",
|