freddyaboulton HF staff commited on
Commit
ed12c40
·
verified ·
1 Parent(s): 4d7314c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -186,7 +186,7 @@ if __name__ == "__main__":
186
  from gradio.utils import get_space
187
  import gradio as gr
188
 
189
- if not get_space():
190
  with gr.Blocks() as demo:
191
  gr.HTML(
192
  """
 
186
  from gradio.utils import get_space
187
  import gradio as gr
188
 
189
+ if get_space():
190
  with gr.Blocks() as demo:
191
  gr.HTML(
192
  """