Spaces:
Sleeping
Sleeping
emircanerol
commited on
Commit
•
d91bf8b
1
Parent(s):
6b884cf
Update app.py
Browse files
app.py
CHANGED
@@ -58,5 +58,5 @@ if __name__ == '__main__':
|
|
58 |
model = AutoModelForTokenClassification.from_pretrained("google/byt5-small")
|
59 |
model = PeftModel.from_pretrained(model, "bite-the-byte/byt5-small-deASCIIfy-TR")
|
60 |
|
61 |
-
diacritize_app = gr.Interface(fn=try_it, inputs="
|
62 |
-
diacritize_app.launch()
|
|
|
58 |
model = AutoModelForTokenClassification.from_pretrained("google/byt5-small")
|
59 |
model = PeftModel.from_pretrained(model, "bite-the-byte/byt5-small-deASCIIfy-TR")
|
60 |
|
61 |
+
diacritize_app = gr.Interface(fn=try_it, inputs="Text to deASCIIfy", outputs="Output")
|
62 |
+
diacritize_app.launch(share=True)
|