1nabeelsiddiqui commited on
Commit
7430bc9
·
verified ·
1 Parent(s): db3c7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def add_message(history, message):
13
  history.append({"role": "user", "content": {"path": x}})
14
  if message["text"] is not None:
15
  history.append({"role": "user", "content": message["text"]})
16
- return history, gr.MultimodalTextbox(value=None, interactive=False, gr.MultimodalTextbox(value=None, interactive=False, file_types=["text"], sources=["upload"]))
17
 
18
 
19
  def bot(history: list):
 
13
  history.append({"role": "user", "content": {"path": x}})
14
  if message["text"] is not None:
15
  history.append({"role": "user", "content": message["text"]})
16
+ return history, gr.MultimodalTextbox(value=None, interactive=False, file_types=["text"], sources=["upload"])
17
 
18
 
19
  def bot(history: list):