Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ class TextRequest(BaseModel):
|
|
| 31 |
|
| 32 |
|
| 33 |
def text_to_ipa(text: str) -> str:
|
| 34 |
-
#
|
| 35 |
prompt = f"convert Gaelic to IPA: {text}"
|
| 36 |
|
| 37 |
inputs = tokenizer(
|
|
|
|
| 31 |
|
| 32 |
|
| 33 |
def text_to_ipa(text: str) -> str:
|
| 34 |
+
# Input text - > target text for trained model
|
| 35 |
prompt = f"convert Gaelic to IPA: {text}"
|
| 36 |
|
| 37 |
inputs = tokenizer(
|