simonl0909 commited on
Commit
409f9e1
·
1 Parent(s): 8604a93

fixed issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from model import model
6
  webhook_payload = None
7
 
8
  with gr.Blocks() as ui:
9
- gr.Markdown(f"## Hugging Face Webhooks Demo\n\n{webhook_payload.json()}")
10
  progress = gr.Progress(track_tqdm=True)
11
 
12
  # 2. Create WebhooksServer with custom UI and secret
 
6
  webhook_payload = None
7
 
8
  with gr.Blocks() as ui:
9
+ gr.Markdown(f"## Hugging Face Webhooks Demo\n\n{webhook_payload.json() if webhook_payload is not None else ''}")
10
  progress = gr.Progress(track_tqdm=True)
11
 
12
  # 2. Create WebhooksServer with custom UI and secret