doubledsbv
commited on
Commit
•
523cf16
1
Parent(s):
1c8ec8c
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def generate(
|
|
55 |
for t in output['choices'][0]['tokens']:
|
56 |
stream_output += t.strip()
|
57 |
yield stream_output
|
58 |
-
|
59 |
return stream_output
|
60 |
|
61 |
|
@@ -83,7 +83,7 @@ additional_inputs=[
|
|
83 |
),
|
84 |
gr.Slider(
|
85 |
label="Top-p (nucleus sampling)",
|
86 |
-
value=0.
|
87 |
minimum=0.0,
|
88 |
maximum=1,
|
89 |
step=0.05,
|
@@ -99,8 +99,8 @@ css = """
|
|
99 |
border: 1px solid #ccc;
|
100 |
}
|
101 |
|
102 |
-
#component-
|
103 |
-
height:
|
104 |
}
|
105 |
"""
|
106 |
|
|
|
55 |
for t in output['choices'][0]['tokens']:
|
56 |
stream_output += t.strip()
|
57 |
yield stream_output
|
58 |
+
# print (t.strip())
|
59 |
return stream_output
|
60 |
|
61 |
|
|
|
83 |
),
|
84 |
gr.Slider(
|
85 |
label="Top-p (nucleus sampling)",
|
86 |
+
value=0.95,
|
87 |
minimum=0.0,
|
88 |
maximum=1,
|
89 |
step=0.05,
|
|
|
99 |
border: 1px solid #ccc;
|
100 |
}
|
101 |
|
102 |
+
#component-7 {
|
103 |
+
height: 750px !important;
|
104 |
}
|
105 |
"""
|
106 |
|