Spaces:
Sleeping
Sleeping
Commit
·
401d95e
1
Parent(s):
3b9ff76
wrong again
Browse files
app.py
CHANGED
@@ -9,12 +9,12 @@ def word_and_char_counter(text):
|
|
9 |
# Define your interface
|
10 |
interface = gr.Interface(
|
11 |
fn=word_and_char_counter,
|
12 |
-
inputs=gr.Textbox(lines=2, placeholder=Type something here...),
|
13 |
-
outputs=text,
|
14 |
-
title=Word and Character Counter,
|
15 |
-
description=Counts the words and non-space characters in your text.
|
16 |
)
|
17 |
|
18 |
# Launch the app
|
19 |
-
if __name__ == __main__
|
20 |
interface.launch()
|
|
|
9 |
# Define your interface
|
10 |
interface = gr.Interface(
|
11 |
fn=word_and_char_counter,
|
12 |
+
inputs=gr.Textbox(lines=2, placeholder="Type something here..."),
|
13 |
+
outputs="text",
|
14 |
+
title="Word and Character Counter",
|
15 |
+
description="Counts the words and non-space characters in your text."
|
16 |
)
|
17 |
|
18 |
# Launch the app
|
19 |
+
if __name__ == "__main__":
|
20 |
interface.launch()
|