Update app.py
Browse files
app.py
CHANGED
@@ -157,14 +157,14 @@ with gr.Blocks() as iface:
|
|
157 |
|
158 |
with gr.Row():
|
159 |
user_input = gr.Textbox(label='輸入您的問題', placeholder="在此輸入問題...")
|
160 |
-
submit_button = gr.Button("
|
161 |
|
162 |
gr.Examples(examples=examples, inputs=user_input)
|
163 |
|
164 |
with gr.Row():
|
165 |
-
like_button = gr.Button("👍")
|
166 |
-
dislike_button = gr.Button("👎")
|
167 |
-
improvement_input = gr.Textbox(label='
|
168 |
|
169 |
with gr.Row():
|
170 |
feedback_output = gr.Textbox(label='反饋結果', interactive=False)
|
|
|
157 |
|
158 |
with gr.Row():
|
159 |
user_input = gr.Textbox(label='輸入您的問題', placeholder="在此輸入問題...")
|
160 |
+
submit_button = gr.Button("輸入問題後,請點我送出")
|
161 |
|
162 |
gr.Examples(examples=examples, inputs=user_input)
|
163 |
|
164 |
with gr.Row():
|
165 |
+
like_button = gr.Button(" 👍 覺得答案很好請按我")
|
166 |
+
dislike_button = gr.Button(" 👎 覺得答案待改善請輸入改進建議後按我")
|
167 |
+
improvement_input = gr.Textbox(label='請在此輸入改進建議', placeholder='請輸入如何改進模型回應的建議')
|
168 |
|
169 |
with gr.Row():
|
170 |
feedback_output = gr.Textbox(label='反饋結果', interactive=False)
|