khang119966 commited on
Commit
48aee7c
1 Parent(s): 9f23228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -143,7 +143,7 @@ def chat(message, history):
143
  for new_text in response:
144
  buffer += new_text
145
  generated_text_without_prompt = buffer[:]
146
- time.sleep(0.01)
147
  yield generated_text_without_prompt
148
 
149
  CSS ="""
@@ -186,11 +186,11 @@ button.svelte-1lcyrx4[aria-label="user's message: a file of type image/jpeg, "]
186
  height: 300px;
187
  }
188
 
189
- # /* Thêm bo góc và giới hạn chiều rộng cho ảnh không thuộc avatar container */
190
- # .message-wrap.svelte-1lcyrx4 > div.svelte-1lcyrx4 .svelte-1lcyrx4:not(.avatar-container) img {
191
- # border-radius: 13px;
192
- # max-width: 50vw;
193
- # }
194
 
195
  """
196
 
 
143
  for new_text in response:
144
  buffer += new_text
145
  generated_text_without_prompt = buffer[:]
146
+ time.sleep(0.005)
147
  yield generated_text_without_prompt
148
 
149
  CSS ="""
 
186
  height: 300px;
187
  }
188
 
189
+ /* Thêm bo góc và giới hạn chiều rộng cho ảnh không thuộc avatar container */
190
+ .message-wrap.svelte-1lcyrx4 > div.svelte-1lcyrx4 .svelte-1lcyrx4:not(.avatar-container) img {
191
+ border-radius: 13px;
192
+ max-width: 50vw;
193
+ }
194
 
195
  """
196