Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
0922798
1
Parent(s):
33d2b1e
Update app.py
Browse files
app.py
CHANGED
@@ -115,10 +115,20 @@ def call_inf_server(prompt, openai_key):
|
|
115 |
#//////////////////////////////////////////////////////////////////// Glass(),
|
116 |
|
117 |
with gr.Blocks(
|
118 |
-
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
# ------ TO HERE //////////////////////////////////////////////////////////////////
|
121 |
-
|
122 |
gr.Markdown(
|
123 |
"""<h1><center>Chat with gpt-3.5-turbo</center></h1>
|
124 |
This is a lightweight demo of gpt-3.5-turbo conversation completion. It was designed as a template for in-context learning applications to be built on top of.
|
|
|
115 |
#//////////////////////////////////////////////////////////////////// Glass(),
|
116 |
|
117 |
with gr.Blocks(
|
118 |
+
|
119 |
|
120 |
+
import gradio as gr
|
121 |
+
|
122 |
+
theme = gr.themes.Glass(
|
123 |
+
primary_hue="amber",
|
124 |
+
secondary_hue="orange",
|
125 |
+
neutral_hue="amber",
|
126 |
+
)
|
127 |
+
|
128 |
+
with gr.Blocks(theme=theme) as demo:
|
129 |
+
|
130 |
# ------ TO HERE //////////////////////////////////////////////////////////////////
|
131 |
+
|
132 |
gr.Markdown(
|
133 |
"""<h1><center>Chat with gpt-3.5-turbo</center></h1>
|
134 |
This is a lightweight demo of gpt-3.5-turbo conversation completion. It was designed as a template for in-context learning applications to be built on top of.
|