Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,8 @@ with gr.Blocks() as demo:
|
|
118 |
button3 = gr.Button(value="3λ²")
|
119 |
button4 = gr.Button(value="4λ²")
|
120 |
|
121 |
-
def respond(message, chat_history, user, quiz_count, gen, types,
|
|
|
122 |
if user.strip() == "":
|
123 |
raise gr.Error("μ¬μ©μ μ΄λ¦μ μ
λ ₯νμΈμ.")
|
124 |
message = message.strip()
|
|
|
118 |
button3 = gr.Button(value="3λ²")
|
119 |
button4 = gr.Button(value="4λ²")
|
120 |
|
121 |
+
def respond(message, chat_history, user, quiz_count, gen, types, profile: Optional[gr.OAuthProfile]):
|
122 |
+
print(profile)
|
123 |
if user.strip() == "":
|
124 |
raise gr.Error("μ¬μ©μ μ΄λ¦μ μ
λ ₯νμΈμ.")
|
125 |
message = message.strip()
|