jackycedar commited on
Commit
c01bfcf
·
1 Parent(s): d18012e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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("ChatGPT"):
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). You don't need any OPENAI API key.</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
 
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