mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
fix test reqs in functional tests (#7454)
This commit is contained in:
parent
b8f534ed02
commit
805a5136a1
1
.github/workflows/test-functional.yml
vendored
1
.github/workflows/test-functional.yml
vendored
@ -56,6 +56,7 @@ jobs:
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
python -m pip install -r demo/outbreak_forecast/requirements.txt
|
||||
python -m pip install -r demo/gradio_pdf_demo/requirements.txt
|
||||
- run: pnpm exec playwright install chromium
|
||||
- name: run browser tests
|
||||
run: |
|
||||
|
1
demo/gradio_pdf_demo/requirements.txt
Normal file
1
demo/gradio_pdf_demo/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
gradio_pdf==0.0.3
|
@ -1 +1 @@
|
||||
{"cells": [{"cell_type": "markdown", "id": "302934307671667531413257853548643485645", "metadata": {}, "source": ["# Gradio Demo: gradio_pdf_demo"]}, {"cell_type": "code", "execution_count": null, "id": "272996653310673477252411125948039410165", "metadata": {}, "outputs": [], "source": ["!pip install -q gradio "]}, {"cell_type": "code", "execution_count": null, "id": "288918539441861185822528903084949547379", "metadata": {}, "outputs": [], "source": ["import gradio as gr\n", "from gradio_pdf import PDF\n", "\n", "\n", "demo = gr.Interface(lambda x: x,\n", " PDF(),\n", " gr.File())\n", "\n", "if __name__ == \"__main__\":\n", " demo.launch()"]}], "metadata": {}, "nbformat": 4, "nbformat_minor": 5}
|
||||
{"cells": [{"cell_type": "markdown", "id": "302934307671667531413257853548643485645", "metadata": {}, "source": ["# Gradio Demo: gradio_pdf_demo"]}, {"cell_type": "code", "execution_count": null, "id": "272996653310673477252411125948039410165", "metadata": {}, "outputs": [], "source": ["!pip install -q gradio gradio_pdf==0.0.3 "]}, {"cell_type": "code", "execution_count": null, "id": "288918539441861185822528903084949547379", "metadata": {}, "outputs": [], "source": ["import gradio as gr\n", "from gradio_pdf import PDF\n", "\n", "\n", "demo = gr.Interface(lambda x: x,\n", " PDF(),\n", " gr.File())\n", "\n", "if __name__ == \"__main__\":\n", " demo.launch()"]}], "metadata": {}, "nbformat": 4, "nbformat_minor": 5}
|
Loading…
Reference in New Issue
Block a user