adnansami1992sami commited on
Commit
3cebda9
·
1 Parent(s): 2f91ab3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -14
app.py CHANGED
@@ -60,21 +60,7 @@ def chat(client: Client):
60
  max_lines=3,
61
  )
62
 
63
- enter_button = gr.Button("Enter")
64
 
65
- def on_enter_click():
66
- message = input_text.value.strip()
67
- input_text.update(value="")
68
- input_text.submit(
69
- run_chat,
70
- [message, chatbot, instructions, temperature, top_p],
71
- outputs=[chatbot],
72
- show_progress=False,
73
- )
74
- enter_button.click(on_enter_click)
75
- inputs= gr.Row(input_text, enter_button),
76
-
77
-
78
  with gr.Row(elem_id="button_container"):
79
  with gr.Column():
80
  retry_button = gr.Button("♻️ Retry last turn")
 
60
  max_lines=3,
61
  )
62
 
 
63
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  with gr.Row(elem_id="button_container"):
65
  with gr.Column():
66
  retry_button = gr.Button("♻️ Retry last turn")