Spaces:
Runtime error
Runtime error
Commit ·
c01bfcf
1
Parent(s): d18012e
Update app.py
Browse files
app.py
CHANGED
|
@@ -476,12 +476,12 @@ with gr.Blocks() as demo:
|
|
| 476 |
answer2 = gr.Textbox(label="Answer")
|
| 477 |
b2.click(qa2, inputs=[question2,radio2], outputs=answer2)
|
| 478 |
|
| 479 |
-
with gr.Tab("
|
| 480 |
# with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
| 481 |
# #chatbot {height: 520px; overflow: auto;}""",
|
| 482 |
# ) as demo:
|
| 483 |
gr.HTML(title)
|
| 484 |
-
gr.HTML("""<h3 align="center">This app provides you full access to GPT-3.5 (4096 token limit)
|
| 485 |
#gr.HTML('''<center><a href="https://huggingface.co/spaces/yuntian-deng/ChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
| 486 |
with gr.Column(elem_id = "col_container", visible=True) as main_block:
|
| 487 |
#API Key is provided by OpenAI
|
|
|
|
| 476 |
answer2 = gr.Textbox(label="Answer")
|
| 477 |
b2.click(qa2, inputs=[question2,radio2], outputs=answer2)
|
| 478 |
|
| 479 |
+
with gr.Tab("ChatGPT3.5"):
|
| 480 |
# with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
| 481 |
# #chatbot {height: 520px; overflow: auto;}""",
|
| 482 |
# ) as demo:
|
| 483 |
gr.HTML(title)
|
| 484 |
+
# gr.HTML("""<h3 align="center">This app provides you full access to GPT-3.5 (4096 token limit)</h1>""")
|
| 485 |
#gr.HTML('''<center><a href="https://huggingface.co/spaces/yuntian-deng/ChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
| 486 |
with gr.Column(elem_id = "col_container", visible=True) as main_block:
|
| 487 |
#API Key is provided by OpenAI
|