am commited on
Commit
6251e95
·
1 Parent(s): e6f96c4
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -108,25 +108,11 @@ def model_inference(
108
 
109
 
110
 
111
- # css_no_header = """
112
- # /* Hide the header row inside this Examples block */
113
- # #ex_tbl thead { display: none !important; }
114
- # """
115
 
116
-
117
-
118
- # theme = gr.themes.Default(
119
- # primary_hue="green",
120
- # # text_size="lg",
121
- # )
122
-
123
-
124
-
125
- # with gr.Blocks(theme=theme) as demo:
126
  with gr.Blocks() as demo:
127
 
128
  send_btn = gr.Button("Send", variant="primary", render=False)
129
- textbox = gr.Textbox(show_label=False, placeholder="Enter your text here and press ENTER", render=False, submit_btn="Send")
130
  chatbot = gr.Chatbot(type="messages", label="AI", render_markdown=True, sanitize_html=False, allow_tags=True, height=800, container=False)
131
 
132
  with gr.Row():
 
108
 
109
 
110
 
 
 
 
 
111
 
 
 
 
 
 
 
 
 
 
 
112
  with gr.Blocks() as demo:
113
 
114
  send_btn = gr.Button("Send", variant="primary", render=False)
115
+ textbox = gr.Textbox(show_label=False, placeholder="Enter your text here and press ENTER", render=False, submit_btn="Send", stop_btn=True)
116
  chatbot = gr.Chatbot(type="messages", label="AI", render_markdown=True, sanitize_html=False, allow_tags=True, height=800, container=False)
117
 
118
  with gr.Row():