doubledsbv commited on
Commit
523cf16
1 Parent(s): 1c8ec8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- #print (t.strip())
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.90,
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-6 {
103
- height: 600px !important;
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