curry tang commited on
Commit
b7c8571
Β·
1 Parent(s): b45abbf
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -222,10 +222,13 @@ with gr.Blocks() as app:
222
  chatbot = gr.ChatInterface(
223
  predict,
224
  chatbot=gr.Chatbot(elem_id="chatbot", height=600, show_share_button=False),
225
- additional_inputs=[chat_engine]
226
  )
227
  with gr.Column(scale=1, min_width=300):
228
- gr.Radio(["ζ— ", "εΌ€ε‘εŠ©ζ‰‹", "ζ–‡ζ‘ˆεŠ©ζ‰‹"], label="η±»εž‹", info="θ―·ι€‰ζ‹©η±»εž‹"),
 
 
 
229
 
230
  with gr.Tab('δ»£η δΌ˜εŒ–'):
231
  with gr.Row():
 
222
  chatbot = gr.ChatInterface(
223
  predict,
224
  chatbot=gr.Chatbot(elem_id="chatbot", height=600, show_share_button=False),
225
+ additional_inputs=[chat_engine],
226
  )
227
  with gr.Column(scale=1, min_width=300):
228
+ with gr.Accordion("εŠ©ζ‰‹η±»εž‹"):
229
+ gr.Radio(["ε‰η«―εŠ©ζ‰‹", "εΌ€ε‘εŠ©ζ‰‹", "ζ–‡ζ‘ˆεŠ©ζ‰‹"], label="η±»εž‹", info="θ―·ι€‰ζ‹©η±»εž‹"),
230
+ with gr.Accordion("图片"):
231
+ gr.ImageEditor()
232
 
233
  with gr.Tab('δ»£η δΌ˜εŒ–'):
234
  with gr.Row():