Spaces:
Runtime error
Runtime error
Dagfinn1962
commited on
Commit
•
be96b47
1
Parent(s):
dca0732
Update app.py
Browse files
app.py
CHANGED
@@ -110,12 +110,12 @@ def call_inf_server(prompt, openai_key):
|
|
110 |
logging.warning(f"Result of text generation: {response}")
|
111 |
return response
|
112 |
|
113 |
-
# ------ STYLES --- ////////////////////////////////////////////////////////////////////
|
114 |
with gr.Blocks(
|
115 |
-
theme=gr.themes.Glass(
|
116 |
primary_hue="amber",
|
117 |
secondary_hue="neutral",
|
118 |
-
neutral_hue="rose",
|
119 |
|
120 |
) as demo: # LEAVE THIS - IMPORTANT
|
121 |
# ------ TO HERE //////////////////////////////////////////////////////////////////
|
|
|
110 |
logging.warning(f"Result of text generation: {response}")
|
111 |
return response
|
112 |
|
113 |
+
# ------ STYLES --- //////////////////////////////////////////////////////////////////// Glass(),
|
114 |
with gr.Blocks(
|
115 |
+
theme=gr.themes.Glass(
|
116 |
primary_hue="amber",
|
117 |
secondary_hue="neutral",
|
118 |
+
neutral_hue="rose",),
|
119 |
|
120 |
) as demo: # LEAVE THIS - IMPORTANT
|
121 |
# ------ TO HERE //////////////////////////////////////////////////////////////////
|