suayptalha commited on
Commit
4dff0d4
·
verified ·
1 Parent(s): 9aad660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -51,10 +51,8 @@ def chat_with_text(user_message, max_new_tokens=250):
51
  return assistant_reply
52
 
53
  # Resim ve/veya metin tabanlı sohbet fonksiyonu
54
- def bot_streaming(message, history=None, max_new_tokens=250):
55
  global history
56
- if history is None:
57
- history = []
58
 
59
  user_message = message.get("text", "")
60
  image = message.get("image", None)
 
51
  return assistant_reply
52
 
53
  # Resim ve/veya metin tabanlı sohbet fonksiyonu
54
+ def bot_streaming(message, max_new_tokens=250):
55
  global history
 
 
56
 
57
  user_message = message.get("text", "")
58
  image = message.get("image", None)