Skip to content

Commit 44d1e6b

Browse files
committed
Fix failing Gradio unit test
1 parent 09522e8 commit 44d1e6b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ jobs:
4444
with:
4545
ref: ${{ github.event.pull_request.head.sha }}
4646

47-
# - name: Run Gradio app tests
48-
# run: |
49-
# ./test-images.sh $(git rev-parse --short ${{ github.event.pull_request.head.sha }})
50-
# working-directory: web-apps
47+
- name: Run Gradio app tests
48+
run: |
49+
./test-images.sh $(git rev-parse --short ${{ github.event.pull_request.head.sha }})
50+
working-directory: web-apps
5151

5252
- name: Install Helm
5353
uses: azure/setup-helm@v4

web-apps/chat/defaults.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ model_instruction: "You are a helpful and cheerful AI assistant. Please respond
44

55
page_title: Large Language Model
66

7+
backend_url: http://ollama:11434
8+
model_name: smollm2:135m
9+
710
# LLM request parameters
811
# See https://platform.openai.com/docs/api-reference/chat/create
912
# and https://docs.vllm.ai/en/v0.6.0/serving/openai_compatible_server.html#extra-parameters
@@ -24,6 +27,6 @@ theme_params: {}
2427
theme_params_extended: {}
2528

2629
# Additional CSS and JS overrides
27-
# See https://www.gradio.app/guides/custom-CSS-and-JS
30+
# See https://www.gradio.app/guides/custom-CSS-and-JS
2831
css_overrides:
2932
custom_javascript:

0 commit comments

Comments
 (0)