Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,13 +44,13 @@ def letter_counter(word, letter):
|
|
| 44 |
"""
|
| 45 |
return word.lower().count(letter.lower()) + 100
|
| 46 |
|
| 47 |
-
demo = gr.Interface(
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
)
|
| 54 |
|
| 55 |
demo = gr.TabbedInterface(
|
| 56 |
[
|
|
|
|
| 44 |
"""
|
| 45 |
return word.lower().count(letter.lower()) + 100
|
| 46 |
|
| 47 |
+
# demo = gr.Interface(
|
| 48 |
+
# fn=letter_counter,
|
| 49 |
+
# inputs=["text", "text"],
|
| 50 |
+
# outputs="number",
|
| 51 |
+
# title="Letter Counter",
|
| 52 |
+
# description="Count how many times a letter appears in a word"
|
| 53 |
+
# )
|
| 54 |
|
| 55 |
demo = gr.TabbedInterface(
|
| 56 |
[
|