dogutcu commited on
Commit
6f585ad
·
verified ·
1 Parent(s): 0383aaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -158,20 +158,15 @@ theme = gr.themes.Base().set(
158
  custom_css = """
159
  <style>
160
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
161
- body {
162
- font-family: 'Roboto', sans-serif;
163
- }
164
- .gr-text-input, .gr-textbox, .gr-markdown, .gr-html {
165
- font-family: 'Roboto', sans-serif;
166
- }
167
- .gr-button {
168
  font-family: 'Roboto', sans-serif;
169
  }
170
  </style>
171
  """
172
 
173
  # Setup the Gradio Blocks interface with custom layout components
174
- with gr.Blocks(theme=theme, css=custom_css) as demo:
 
175
  gr.Image(display_image(), show_label = False, show_share_button = False, show_download_button = False)
176
  gr.Markdown(welcome_message) # Display the formatted welcome message
177
  with gr.Row():
 
158
  custom_css = """
159
  <style>
160
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
161
+ body, .gr-text-input, .gr-textbox, .gr-markdown, .gr-html, .gr-button {
 
 
 
 
 
 
162
  font-family: 'Roboto', sans-serif;
163
  }
164
  </style>
165
  """
166
 
167
  # Setup the Gradio Blocks interface with custom layout components
168
+ with gr.Blocks(theme=theme) as demo:
169
+ gr.HTML(custom_css)
170
  gr.Image(display_image(), show_label = False, show_share_button = False, show_download_button = False)
171
  gr.Markdown(welcome_message) # Display the formatted welcome message
172
  with gr.Row():