Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit 5342c4c

Browse files
committed
fix: update fn name for demo
1 parent 884fa77 commit 5342c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def perform(text):
1212

1313
return score
1414

15-
demo = gr.Interface(fn=predict,
15+
demo = gr.Interface(fn=perform,
1616
inputs=[gr.Textbox(label="Message")],
1717
outputs=gr.Textbox(label="Score"))
1818

0 commit comments

Comments
 (0)