candenizkocak commited on
Commit
b010baa
·
verified ·
1 Parent(s): e0c46af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -124,8 +124,8 @@ with gr.Blocks() as demo:
124
  ok_button = gr.Button("OK", visible=True)
125
 
126
  chatbox = gr.Chatbot(label="Sohbet Geçmişi", visible=False)
127
- user_input = gr.Textbox(placeholder="Soru", label="Kullanıcı Soru Alanı", visible=False)
128
- submit_button = gr.Button("Submit", visible=False)
129
 
130
  thread_id_component = gr.State()
131
 
 
124
  ok_button = gr.Button("OK", visible=True)
125
 
126
  chatbox = gr.Chatbot(label="Sohbet Geçmişi", visible=False)
127
+ user_input = gr.Textbox.submit(placeholder="Soru", label="Kullanıcı Soru Alanı", visible=False)
128
+ submit_button = gr.Button("Gönder", visible=False)
129
 
130
  thread_id_component = gr.State()
131