Spaces:
Runtime error
Runtime error
fix: fix typo
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def classify_text(text: str):
|
|
| 36 |
return json.dumps(results, ensure_ascii=False, indent=4), html_text
|
| 37 |
|
| 38 |
|
| 39 |
-
demo = gr.Interface(fn=
|
| 40 |
inputs=gr.Textbox(lines=5, placeholder='Input text in Thai', label='Input text'),
|
| 41 |
examples=[
|
| 42 |
'งานจากผกกคนนี้ไม่เคยทำให้เราผิดหวัง ให้ต้องไปดูอีกรอบสอง',
|
|
|
|
| 36 |
return json.dumps(results, ensure_ascii=False, indent=4), html_text
|
| 37 |
|
| 38 |
|
| 39 |
+
demo = gr.Interface(fn=classify_text,
|
| 40 |
inputs=gr.Textbox(lines=5, placeholder='Input text in Thai', label='Input text'),
|
| 41 |
examples=[
|
| 42 |
'งานจากผกกคนนี้ไม่เคยทำให้เราผิดหวัง ให้ต้องไปดูอีกรอบสอง',
|