maslionok
commited on
Commit
·
d7a5646
1
Parent(s):
cb3e34f
change
Browse files
Dockerfile
CHANGED
@@ -19,6 +19,9 @@ RUN mkdir -p /tmp/.cache/huggingface && chmod -R 777 /tmp/.cache
|
|
19 |
# Copy app files
|
20 |
COPY . .
|
21 |
|
|
|
|
|
|
|
22 |
# Upgrade pip and install packages
|
23 |
RUN pip install --upgrade pip
|
24 |
RUN pip install "impresso_pipelines[solrnormalization]==0.4.6.6"
|
|
|
19 |
# Copy app files
|
20 |
COPY . .
|
21 |
|
22 |
+
# Copy logo.jpeg file
|
23 |
+
COPY logo.jpeg /app/logo.jpeg
|
24 |
+
|
25 |
# Upgrade pip and install packages
|
26 |
RUN pip install --upgrade pip
|
27 |
RUN pip install "impresso_pipelines[solrnormalization]==0.4.6.6"
|
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: blue
|
|
5 |
colorTo: indigo
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
-
short_description:
|
9 |
---
|
10 |
|
11 |
# Solr Normalization Demo
|
|
|
5 |
colorTo: indigo
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
short_description: Solr text normalization pipeline demo for Impresso
|
9 |
---
|
10 |
|
11 |
# Solr Normalization Demo
|
app.py
CHANGED
@@ -54,6 +54,10 @@ demo = gr.Interface(
|
|
54 |
examples=examples,
|
55 |
title="🔥 Solr Normalization Pipeline",
|
56 |
description="""
|
|
|
|
|
|
|
|
|
57 |
**Solr normalization is intended to give an idea of what kind of normalization is happening behind Impresso.**
|
58 |
|
59 |
This demo replicates Solr's text analysis functionality, showing how text is processed through various normalization steps including tokenization, stopword removal, and language-specific analysis.
|
|
|
54 |
examples=examples,
|
55 |
title="🔥 Solr Normalization Pipeline",
|
56 |
description="""
|
57 |
+
<div style="text-align: center; margin-bottom: 20px;">
|
58 |
+
<img src="file/logo.jpeg" alt="Logo" style="max-width: 200px; height: auto; border-radius: 8px;">
|
59 |
+
</div>
|
60 |
+
|
61 |
**Solr normalization is intended to give an idea of what kind of normalization is happening behind Impresso.**
|
62 |
|
63 |
This demo replicates Solr's text analysis functionality, showing how text is processed through various normalization steps including tokenization, stopword removal, and language-specific analysis.
|
logo.jpeg
ADDED
![]() |