Skip to content

Commit

Permalink
prevent_thread_lock=1
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidcarbon authored May 22, 2024
1 parent ff8d25c commit 4ad6a5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
run: |
iex ((iwr $env:MAIN_BRANCH_URL/pup.ps1).Content -split "`n")[-2] ; pup fetch zero-to-gradio gradio
- name: Start app
run: |
zero-to-gradio\.venv\Scripts\python.exe -c 'import gradio as gr; gr.Interface(lambda x: x, inputs=["text"], outputs=["text"]).launch()'
run: >
zero-to-gradio\.venv\Scripts\python.exe -c
'import gradio as gr; gr.Interface(lambda x: x, inputs=["text"], outputs=["text"]).launch(prevent_thread_lock=1)'

0 comments on commit 4ad6a5d

Please sign in to comment.