Spaces:
Runtime error
Runtime error
fix: small things
Browse files
app.py
CHANGED
@@ -96,9 +96,8 @@ API 토큰에는 유료결제한 계정의 OpenAI API키를 넣으면 됩니다
|
|
96 |
"""
|
97 |
|
98 |
with gr.Blocks(css = """#col_container {width: 700px; margin-left: auto; margin-right: auto;}
|
99 |
-
#chatbot {height:
|
100 |
gr.HTML(title)
|
101 |
-
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
102 |
with gr.Column(elem_id = "col_container"):
|
103 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
104 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
|
|
96 |
"""
|
97 |
|
98 |
with gr.Blocks(css = """#col_container {width: 700px; margin-left: auto; margin-right: auto;}
|
99 |
+
#chatbot {height: 600px; overflow: auto;}""") as demo:
|
100 |
gr.HTML(title)
|
|
|
101 |
with gr.Column(elem_id = "col_container"):
|
102 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
103 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|