Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,11 +106,11 @@ In this app, you can explore the outputs of a gpt-3.5-turbo LLM.
|
|
| 106 |
with gr.Blocks(css = """#col_container {width: 700px; margin-left: auto; margin-right: auto;}
|
| 107 |
#chatbot {height: 400px; overflow: auto;}""") as demo:
|
| 108 |
gr.HTML(title)
|
| 109 |
-
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"></a>输入apike秘钥即可运行,如无秘钥可加微信号:visjia购买20元一个</center>''')
|
| 110 |
with gr.Column(elem_id = "col_container"):
|
| 111 |
openai_api_key = gr.Textbox(type='password', label="在此处输入您的 OpenAI API 密钥")
|
| 112 |
chatbot = gr.Chatbot(elem_id='查特AI') #c
|
| 113 |
-
inputs = gr.Textbox(placeholder= "无所不知!", label= "输入你的问题并按 发送") #t
|
| 114 |
state = gr.State([]) #s
|
| 115 |
b1 = gr.Button()
|
| 116 |
|
|
|
|
| 106 |
with gr.Blocks(css = """#col_container {width: 700px; margin-left: auto; margin-right: auto;}
|
| 107 |
#chatbot {height: 400px; overflow: auto;}""") as demo:
|
| 108 |
gr.HTML(title)
|
| 109 |
+
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"></a>输入apike秘钥即可运行,如无秘钥可加微信号:visjia购买20元一个</center><img src="https://help-ol.bj.bcebos.com/f956052a307b955902cf31963d5a7fef.jpg">''')
|
| 110 |
with gr.Column(elem_id = "col_container"):
|
| 111 |
openai_api_key = gr.Textbox(type='password', label="在此处输入您的 OpenAI API 密钥")
|
| 112 |
chatbot = gr.Chatbot(elem_id='查特AI') #c
|
| 113 |
+
inputs = gr.Textbox(placeholder= "无所不知!", label= "输入你的问题并按 Run发送") #t
|
| 114 |
state = gr.State([]) #s
|
| 115 |
b1 = gr.Button()
|
| 116 |
|