karthikeyan-r commited on
Commit
4aff98a
1 Parent(s): ce50080

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -255,7 +255,7 @@ class ChatDocumentQA:
255
  return "", chat_history
256
  except:
257
  chat_history.append((message, "Please Upload Document or URL"))
258
- return input_text, chatbot_response
259
 
260
  def gradio_interface(self) -> None:
261
  """Create a Gradio interface for the chatbot."""
 
255
  return "", chat_history
256
  except:
257
  chat_history.append((message, "Please Upload Document or URL"))
258
+ return input_text, [(input_text, chatbot_response)]
259
 
260
  def gradio_interface(self) -> None:
261
  """Create a Gradio interface for the chatbot."""