Spaces:
Running
Running
Update app.py
Browse files
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
|
586 |
-
|
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 |
+
)
|
|
|
|
|
|