Spaces:
Runtime error
Runtime error
Commit ·
6b8df87
1
Parent(s): c31c258
Update app.py
Browse files
app.py
CHANGED
|
@@ -395,7 +395,7 @@ Assistant: <utterance>
|
|
| 395 |
```
|
| 396 |
In this app, you can explore the outputs of a gpt-3.5 LLM.
|
| 397 |
"""
|
| 398 |
-
theme = gr.themes.Default(primary_hue="green")
|
| 399 |
|
| 400 |
with gr.Blocks() as demo:
|
| 401 |
gr.Markdown(
|
|
@@ -479,7 +479,7 @@ with gr.Blocks() as demo:
|
|
| 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 |
-
|
| 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>''')
|
|
|
|
| 395 |
```
|
| 396 |
In this app, you can explore the outputs of a gpt-3.5 LLM.
|
| 397 |
"""
|
| 398 |
+
# theme = gr.themes.Default(primary_hue="green")
|
| 399 |
|
| 400 |
with gr.Blocks() as demo:
|
| 401 |
gr.Markdown(
|
|
|
|
| 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>''')
|