xyizko commited on
Commit
f6d601d
·
verified ·
1 Parent(s): a270fa4

Update app.py

Browse files

- Fix Indentation

Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -1,10 +1,8 @@
 
 
1
  import gradio as gr
2
  import asyncio
3
- from jokeapi import Jokes
4
-
5
-
6
- def main():
7
- jokerz()
8
 
9
  def jokerz():
10
  """Main function containing all sub-functions for fetching and displaying jokes."""
@@ -44,9 +42,8 @@ def jokerz():
44
  description="Chat and get random jokes from JokeAPI!",
45
  )
46
 
47
-
48
  demo = run_interface()
49
  demo.launch()
50
 
51
  if __name__ == "__main__":
52
- main()
 
1
+ # x.com/xyizko
2
+
3
  import gradio as gr
4
  import asyncio
5
+ from jokeapi import Jokes
 
 
 
 
6
 
7
  def jokerz():
8
  """Main function containing all sub-functions for fetching and displaying jokes."""
 
42
  description="Chat and get random jokes from JokeAPI!",
43
  )
44
 
 
45
  demo = run_interface()
46
  demo.launch()
47
 
48
  if __name__ == "__main__":
49
+ jokerz()