Spaces:
Sleeping
Sleeping
emircanerol
commited on
Commit
•
43a4b35
1
Parent(s):
d91bf8b
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(share=True)
|
|
|
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", outputs="text")
|
62 |
diacritize_app.launch(share=True)
|