Dagfinn1962 commited on
Commit
9f9ee9f
1 Parent(s): 4034436

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -108,19 +108,13 @@ def call_inf_server(prompt, openai_key):
108
  logging.warning(f"Result of text generation: {response}")
109
  return response
110
 
111
- # style HERE ----->
112
-
113
-
114
  with gr.Blocks(
115
- theme = gr.themes.Glass(
116
  primary_hue="amber",
117
  secondary_hue="neutral",
118
  neutral_hue="rose",
 
119
 
120
- # ----- To here ---<
121
-
122
- ) as demo:
123
- )
124
  gr.Markdown(
125
  """<h1><center>Chat with gpt-3.5-turbo</center></h1>
126
  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.
 
108
  logging.warning(f"Result of text generation: {response}")
109
  return response
110
 
 
 
 
111
  with gr.Blocks(
112
+ theme = gr.themes.Glass
113
  primary_hue="amber",
114
  secondary_hue="neutral",
115
  neutral_hue="rose",
116
+ ) as demo:
117
 
 
 
 
 
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.