wagner-austin
commited on
Commit
·
1528697
1
Parent(s):
2ae3245
updated to use app.py and version update
Browse files- app.py +3 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
# This application demonstrates transliteration between Cyrillic, Latin, and IPA for Turkic languages
|
| 3 |
|
| 4 |
# Import the web demo UI builder from the turkic_translit package
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
# Create the Gradio interface with default settings
|
| 8 |
# The build_ui function configures a Gradio Interface with:
|
|
@@ -18,4 +19,4 @@ demo.queue()
|
|
| 18 |
|
| 19 |
# Launch the web application
|
| 20 |
# In Hugging Face Spaces, this will make the app available to users
|
| 21 |
-
demo.launch()
|
|
|
|
| 2 |
# This application demonstrates transliteration between Cyrillic, Latin, and IPA for Turkic languages
|
| 3 |
|
| 4 |
# Import the web demo UI builder from the turkic_translit package
|
| 5 |
+
# Using the new app module structure
|
| 6 |
+
from turkic_translit.web.app import build_ui
|
| 7 |
|
| 8 |
# Create the Gradio interface with default settings
|
| 9 |
# The build_ui function configures a Gradio Interface with:
|
|
|
|
| 19 |
|
| 20 |
# Launch the web application
|
| 21 |
# In Hugging Face Spaces, this will make the app available to users
|
| 22 |
+
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
turkic-transliterate[ui]>=0.1.
|
| 2 |
|
| 3 |
#turkic-transliterate[ui] @ git+https://github.com/wagner-austin/turkic_transliteration.git@main
|
| 4 |
|
|
|
|
| 1 |
+
turkic-transliterate[ui]>=0.1.3
|
| 2 |
|
| 3 |
#turkic-transliterate[ui] @ git+https://github.com/wagner-austin/turkic_transliteration.git@main
|
| 4 |
|