freshield commited on
Commit
71870f7
1 Parent(s): 9e0f524

add requirements and change the max height

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -0
app.py CHANGED
@@ -43,7 +43,7 @@ def clean_question(question):
43
 
44
 
45
  if __name__ == '__main__':
46
- with gr.Blocks(title="尝试chatGPT对话", css="#maxheight {max-height: 390px} ") as demo:
47
  state = gr.State([])
48
  with gr.Column(variant='panel'):
49
  # title
 
43
 
44
 
45
  if __name__ == '__main__':
46
+ with gr.Blocks(title="尝试chatGPT对话", css="#maxheight {max-height: 500px} ") as demo:
47
  state = gr.State([])
48
  with gr.Column(variant='panel'):
49
  # title
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ gradio=3.19.1
2
+ openai