Spaces:
Paused
Paused
updated app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import webbrowser
|
|
| 4 |
from http.server import BaseHTTPRequestHandler, HTTPServer
|
| 5 |
import threading
|
| 6 |
import spaces
|
|
|
|
| 7 |
|
| 8 |
# OAuth Configuration
|
| 9 |
TENANT_ID = '2b093ced-2571-463f-bc3e-b4f8bcb427ee'
|
|
@@ -61,7 +62,7 @@ def check_login():
|
|
| 61 |
def handle_login_click():
|
| 62 |
login()
|
| 63 |
return check_login()
|
| 64 |
-
|
| 65 |
def gradio_interface():
|
| 66 |
with gr.Blocks() as demo:
|
| 67 |
gr.Markdown("### Welcome to the App")
|
|
|
|
| 4 |
from http.server import BaseHTTPRequestHandler, HTTPServer
|
| 5 |
import threading
|
| 6 |
import spaces
|
| 7 |
+
from urllib.parse import urlencode
|
| 8 |
|
| 9 |
# OAuth Configuration
|
| 10 |
TENANT_ID = '2b093ced-2571-463f-bc3e-b4f8bcb427ee'
|
|
|
|
| 62 |
def handle_login_click():
|
| 63 |
login()
|
| 64 |
return check_login()
|
| 65 |
+
|
| 66 |
def gradio_interface():
|
| 67 |
with gr.Blocks() as demo:
|
| 68 |
gr.Markdown("### Welcome to the App")
|