Dagfinn1962 commited on
Commit
8ba4c9e
1 Parent(s): af9e3ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -109,15 +109,7 @@ def call_inf_server(prompt, openai_key):
109
  logging.warning(f"Result of text generation: {response}")
110
  return response
111
 
112
- import gradio as gr
113
 
114
- theme = gr.themes.Glass(
115
- primary_hue="lime",
116
- secondary_hue="emerald",
117
- neutral_hue="zinc",
118
- text_size="text_lg",
119
- font=[gr.themes.GoogleFont('Optima'), 'Candara', 'Noto Sans', 'source-sans-pro'],
120
- )
121
 
122
  with gr.Blocks(theme=theme) as demo:
123
  ...
@@ -126,8 +118,6 @@ with gr.Blocks(
126
  primary_hue="lime",
127
  secondary_hue="emerald",
128
  neutral_hue="zinc",
129
- text_size="text_lg",
130
- font=[gr.themes.GoogleFont('Optima'), 'Candara', 'Noto Sans', 'source-sans-pro'],
131
 
132
  ),
133
 
 
109
  logging.warning(f"Result of text generation: {response}")
110
  return response
111
 
 
112
 
 
 
 
 
 
 
 
113
 
114
  with gr.Blocks(theme=theme) as demo:
115
  ...
 
118
  primary_hue="lime",
119
  secondary_hue="emerald",
120
  neutral_hue="zinc",
 
 
121
 
122
  ),
123