Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
f904c4e
1
Parent(s):
44d4bdb
Update app.py
Browse files
app.py
CHANGED
@@ -112,21 +112,14 @@ def call_inf_server(prompt, openai_key):
|
|
112 |
|
113 |
|
114 |
with gr.Blocks(
|
115 |
-
theme
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
font_mono=[gr.themes.GoogleFont('IBM Plex Mono'), gr.themes.GoogleFont('ui-monospace'), gr.themes.GoogleFont('Consolas'), gr.themes.GoogleFont('monospace')],
|
124 |
-
).set(
|
125 |
-
body_background_fill='*primary_500',
|
126 |
-
body_background_fill_dark='*primary_50',
|
127 |
-
background_fill_primary='*primary_50',
|
128 |
-
background_fill_primary_dark='*primary_50'
|
129 |
-
):
|
130 |
with gr.Blocks():
|
131 |
conversation = Chat()
|
132 |
with gr.Row():
|
|
|
112 |
|
113 |
|
114 |
with gr.Blocks(
|
115 |
+
theme=gr.themes.Soft(),
|
116 |
+
css=".disclaimer {font-variant-caps: all-small-caps;}",
|
117 |
+
) as demo:
|
118 |
+
gr.Markdown(
|
119 |
+
"""<h1><center>Chat with gpt-3.5-turbo</center></h1>
|
120 |
+
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.
|
121 |
+
"""
|
122 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
with gr.Blocks():
|
124 |
conversation = Chat()
|
125 |
with gr.Row():
|