Spaces:
Runtime error
Runtime error
Joshua Lansford
commited on
Commit
·
6f3a3e1
1
Parent(s):
1068dd0
Added links to readme and readme to space app.
Browse files
README.md
CHANGED
@@ -23,6 +23,10 @@ license: apache-2.0
|
|
23 |
- The transformation uses a sliding context window of the next n incoming characters, ``n`` output transformed chars and n output untransformed chars.
|
24 |
- Because the window is sliding, there is no fixed length on the character sequences which can be transformed.
|
25 |
|
|
|
|
|
|
|
|
|
26 |
# How can I use the Sentance Transmorgrifier
|
27 |
- The project has been configured to be able to be used in two different ways.
|
28 |
|
|
|
23 |
- The transformation uses a sliding context window of the next n incoming characters, ``n`` output transformed chars and n output untransformed chars.
|
24 |
- Because the window is sliding, there is no fixed length on the character sequences which can be transformed.
|
25 |
|
26 |
+
# Where is the code and a demo of said Sentance Transmorgrifier?
|
27 |
+
- There is a [Sentance Transmorgrifier HuggingFace space](https://huggingface.co/spaces/JEdward7777/SentanceTransmorgrifier) demoing a couple models created with Sentance Transmorgrifier.
|
28 |
+
- A branch of the code without the trained example models is checked in at the [Sentance Transmorgrifier Github page](https://github.com/JEdward7777/SentanceTransmogrifier).
|
29 |
+
|
30 |
# How can I use the Sentance Transmorgrifier
|
31 |
- The project has been configured to be able to be used in two different ways.
|
32 |
|
app.py
CHANGED
@@ -52,4 +52,8 @@ Select the tab below for a demo.
|
|
52 |
pig_in = gr.Textbox( label="Pig latin in" )
|
53 |
english_out = gr.Textbox( label='English out')
|
54 |
gr.Button( value='Transmorgrify' ).click( pig_to_eng , pig_in, english_out )
|
|
|
|
|
|
|
|
|
55 |
demo.launch()
|
|
|
52 |
pig_in = gr.Textbox( label="Pig latin in" )
|
53 |
english_out = gr.Textbox( label='English out')
|
54 |
gr.Button( value='Transmorgrify' ).click( pig_to_eng , pig_in, english_out )
|
55 |
+
|
56 |
+
with open( "README.md" ) as readme_in:
|
57 |
+
gr.Markdown( readme_in.read() )
|
58 |
+
|
59 |
demo.launch()
|