shukdevdatta123 commited on
Commit
062682c
·
verified ·
1 Parent(s): c57fad1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -5,7 +5,6 @@ import gradio as gr
5
  from datetime import datetime
6
  from typing import List, Dict, Any, Optional, Union
7
  import threading
8
- import spaces
9
 
10
  # Import Groq
11
  from groq import Groq
@@ -582,13 +581,9 @@ def create_gradio_app():
582
 
583
  return app
584
 
585
- # Main execution with ZeroGPU
586
- @spaces.GPU
587
- def main():
588
  app = create_gradio_app()
589
  app.launch(
590
  share=True
591
- )
592
-
593
- if __name__ == "__main__":
594
- main()
 
5
  from datetime import datetime
6
  from typing import List, Dict, Any, Optional, Union
7
  import threading
 
8
 
9
  # Import Groq
10
  from groq import Groq
 
581
 
582
  return app
583
 
584
+ # Main execution
585
+ if __name__ == "__main__":
 
586
  app = create_gradio_app()
587
  app.launch(
588
  share=True
589
+ )