Update app.py
Browse files
    	
        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)
         |