rishiraj commited on
Commit
2e0324c
1 Parent(s): 6ca723c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,7 +29,7 @@ communities = '''
29
  <ul>
30
  <li>
31
  <p><strong><em><a href="https://developers.google.com/community/experts/directory?text=rishiraj">Google Developer Expert</a> in Machine Learning (Generative AI)</em></strong><br />
32
- A Google Developers Expert (GDE) is a person recognized by Google as having exemplary expertise in web technologies or Google Developers products.</p>
33
  </li>
34
  <li>
35
  <p><strong><em><a href="https://twitter.com/TFUGKol">TensorFlow User Group Kolkata</a> (Organizer)</em></strong><br />
@@ -93,7 +93,7 @@ def format_prompt(message, history):
93
  return prompt
94
 
95
  def generate(
96
- prompt, history, system_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
97
  ):
98
  temperature = float(temperature)
99
  if temperature < 1e-2:
@@ -136,7 +136,7 @@ additional_inputs=[
136
  ),
137
  gr.Slider(
138
  label="Max new tokens",
139
- value=256,
140
  minimum=0,
141
  maximum=1048,
142
  step=64,
 
29
  <ul>
30
  <li>
31
  <p><strong><em><a href="https://developers.google.com/community/experts/directory?text=rishiraj">Google Developer Expert</a> in Machine Learning (Generative AI)</em></strong><br />
32
+ Google Developers Experts (GDEs) is a global network of experienced developer professionals recognized by Google, who are actively supporting developers, startups and companies.</p>
33
  </li>
34
  <li>
35
  <p><strong><em><a href="https://twitter.com/TFUGKol">TensorFlow User Group Kolkata</a> (Organizer)</em></strong><br />
 
93
  return prompt
94
 
95
  def generate(
96
+ prompt, history, system_prompt, temperature=0.9, max_new_tokens=512, top_p=0.95, repetition_penalty=1.0,
97
  ):
98
  temperature = float(temperature)
99
  if temperature < 1e-2:
 
136
  ),
137
  gr.Slider(
138
  label="Max new tokens",
139
+ value=512,
140
  minimum=0,
141
  maximum=1048,
142
  step=64,