Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
import os
|
| 2 |
import gradio as gr
|
| 3 |
from revChatGPT.V1 import Chatbot
|
| 4 |
|
|
@@ -12,9 +11,9 @@ def configure_chatbot(method, info):
|
|
| 12 |
|
| 13 |
if method=="Email/Password":
|
| 14 |
email, password = info.split()
|
| 15 |
-
elif method=="
|
| 16 |
access_token = info
|
| 17 |
-
elif method=="
|
| 18 |
session_token = info
|
| 19 |
|
| 20 |
config = {}
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from revChatGPT.V1 import Chatbot
|
| 3 |
|
|
|
|
| 11 |
|
| 12 |
if method=="Email/Password":
|
| 13 |
email, password = info.split()
|
| 14 |
+
elif method=="Access token":
|
| 15 |
access_token = info
|
| 16 |
+
elif method=="Session token":
|
| 17 |
session_token = info
|
| 18 |
|
| 19 |
config = {}
|