Pranjal Gupta commited on
Commit
ed9c897
·
1 Parent(s): 91a6685

gradio text box xhange

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -197,7 +197,7 @@ with gr.Blocks(title="Contextual RAG Chatbot on Hugging Face Spaces") as demo:
197
  state=token_state, # pass token state to the function
198
  multimodal=True,
199
  description="Upload a PDF file to start chatting!",
200
- textbox=gr.MultimodalTextbox(file_types=[".pdf"])
201
  )
202
 
203
  if __name__ == "__main__":
 
197
  state=token_state, # pass token state to the function
198
  multimodal=True,
199
  description="Upload a PDF file to start chatting!",
200
+ textbox=gr.MultimodalTextbox(file_types=[".pdf"], show_submit=True)
201
  )
202
 
203
  if __name__ == "__main__":