alexkueck commited on
Commit
8f3a24d
1 Parent(s): 624fd5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def add_text(chatbot, history, prompt, file):
146
  if (prompt == ""):
147
  chatbot.append(((file.name,), "Prompt fehlt!"))
148
  else:
149
- chatbot.append((file.name,), None), (prompt, None))
150
  print("chatbot nach add_text............")
151
  print(chatbot)
152
  return chatbot, history, prompt, "" #gr.Image( label=None, size=(30,30), visible=False, scale=1) #gr.Textbox(value="", interactive=False)
 
146
  if (prompt == ""):
147
  chatbot.append(((file.name,), "Prompt fehlt!"))
148
  else:
149
+ chatbot.append(((file.name,), None), (prompt, None))
150
  print("chatbot nach add_text............")
151
  print(chatbot)
152
  return chatbot, history, prompt, "" #gr.Image( label=None, size=(30,30), visible=False, scale=1) #gr.Textbox(value="", interactive=False)