rioanggara commited on
Commit
f8e0912
·
1 Parent(s): 3a8f53c

Fix syntax error in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- def word_and_char_counter(text)
4
  words = text.split()
5
  num_words = len(words)
6
  num_chars = len(text.replace( , )) # Remove spaces before counting characters
 
1
  import gradio as gr
2
 
3
+ def word_and_char_counter(text):
4
  words = text.split()
5
  num_words = len(words)
6
  num_chars = len(text.replace( , )) # Remove spaces before counting characters