Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ if torch.cuda.is_available():
|
|
19 |
torch.cuda.manual_seed(1337)
|
20 |
|
21 |
# STOP
|
22 |
-
num_return_sequences = 5
|
23 |
-
max_length = 30
|
24 |
|
25 |
|
26 |
import gradio as gr
|
@@ -48,7 +48,7 @@ demo = gr.Interface(
|
|
48 |
["1", "2", "3", "4", "5", "6", "8", "10"],
|
49 |
label="Number of Return Sequences",
|
50 |
info="Choose how many return sequences are required in output.",
|
51 |
-
value="
|
52 |
)
|
53 |
],
|
54 |
[
|
|
|
19 |
torch.cuda.manual_seed(1337)
|
20 |
|
21 |
# STOP
|
22 |
+
# num_return_sequences = 5
|
23 |
+
# max_length = 30
|
24 |
|
25 |
|
26 |
import gradio as gr
|
|
|
48 |
["1", "2", "3", "4", "5", "6", "8", "10"],
|
49 |
label="Number of Return Sequences",
|
50 |
info="Choose how many return sequences are required in output.",
|
51 |
+
value="5"
|
52 |
)
|
53 |
],
|
54 |
[
|