vilarin commited on
Commit
64b62db
1 Parent(s): a44bdb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,6 +74,7 @@ def stream_chat(
74
  top_k = top_k,
75
  temperature = temperature,
76
  streamer=streamer,
 
77
  pad_token_id = 10,
78
  )
79
 
@@ -89,7 +90,7 @@ def stream_chat(
89
 
90
  chatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)
91
 
92
- with gr.Blocks(css=CSS, theme="soft") as demo:
93
  gr.HTML(TITLE)
94
  gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
95
  gr.ChatInterface(
 
74
  top_k = top_k,
75
  temperature = temperature,
76
  streamer=streamer,
77
+ repetition_penalty=penalty,
78
  pad_token_id = 10,
79
  )
80
 
 
90
 
91
  chatbot = gr.Chatbot(height=600, placeholder=PLACEHOLDER)
92
 
93
+ with gr.Blocks(css=CSS, theme="Nymbo/Nymbo_Theme") as demo:
94
  gr.HTML(TITLE)
95
  gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
96
  gr.ChatInterface(