Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,10 @@ with gr.Blocks() as demo:
|
|
54 |
gr.Markdown("""<h1><center>ChatGPT BOT build by revChatGPT & Gradio</center></h1>
|
55 |
""")
|
56 |
gr.Markdown(
|
57 |
-
"
|
58 |
|
59 |
if not ((email and password) or access_token or session_token):
|
60 |
-
gr.Markdown("""<h2>Login to OpenAI
|
61 |
with gr.Row():
|
62 |
with gr.Group():
|
63 |
method = gr.Dropdown(label="Login Method", choices=login_method)
|
@@ -66,7 +66,7 @@ with gr.Blocks() as demo:
|
|
66 |
login = gr.Button("Login")
|
67 |
login.click(configure_chatbot, inputs=[method, info])
|
68 |
|
69 |
-
gr.Markdown("""<h2>Start Chatting
|
70 |
chatbot1 = gr.Chatbot()
|
71 |
message = gr.Textbox(placeholder="Chat here")
|
72 |
state = gr.State()
|
|
|
54 |
gr.Markdown("""<h1><center>ChatGPT BOT build by revChatGPT & Gradio</center></h1>
|
55 |
""")
|
56 |
gr.Markdown(
|
57 |
+
"""<h5>Author: [dotmet](https://github.com/dotmet) Github link:[ChatGPTWEB](https://github.com/dotmet/chatgpt_webui)</h5>""")
|
58 |
|
59 |
if not ((email and password) or access_token or session_token):
|
60 |
+
gr.Markdown("""<h2>Login to OpenAI</h2>""")
|
61 |
with gr.Row():
|
62 |
with gr.Group():
|
63 |
method = gr.Dropdown(label="Login Method", choices=login_method)
|
|
|
66 |
login = gr.Button("Login")
|
67 |
login.click(configure_chatbot, inputs=[method, info])
|
68 |
|
69 |
+
gr.Markdown("""<h2>Start Chatting ...</h2>""")
|
70 |
chatbot1 = gr.Chatbot()
|
71 |
message = gr.Textbox(placeholder="Chat here")
|
72 |
state = gr.State()
|