Spaces:
Running
Running
add requirements and change the max height
Browse files- app.py +1 -1
- 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:
|
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
|