mkw18 commited on
Commit
b4d276b
·
1 Parent(s): 9d0022f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as demo:
134
  idx = gr.State(data['idx'])
135
  show_ans = gr.State(False)
136
  with gr.Row():
137
- question = gr.Textbox(label='汤面', value=data['chatbot'][-1][1].replace('汤面:', '').replace('你可以开始猜测汤底的内容,我会回答你的问题。请注意,我只能回答“是”或“否”。', '').replace('<p>', '').replace('</p>', '').strip(),
138
  lines=1, max_lines=3).style(container=False)
139
 
140
  with gr.Row():
 
134
  idx = gr.State(data['idx'])
135
  show_ans = gr.State(False)
136
  with gr.Row():
137
+ question = gr.Textbox(label='汤面', value=data['story'].strip(),
138
  lines=1, max_lines=3).style(container=False)
139
 
140
  with gr.Row():