Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ client = OpenAI(
|
|
| 11 |
}
|
| 12 |
)
|
| 13 |
|
| 14 |
-
def process_message(message, history, image
|
| 15 |
"""
|
| 16 |
Process user message and image, send to the model, and return the response.
|
| 17 |
"""
|
|
@@ -66,9 +66,6 @@ with gr.Blocks() as demo:
|
|
| 66 |
'</a>'
|
| 67 |
)
|
| 68 |
|
| 69 |
-
# Add OAuth login button
|
| 70 |
-
gr.LoginButton()
|
| 71 |
-
|
| 72 |
chatbot = gr.Chatbot(
|
| 73 |
label="Conversation",
|
| 74 |
height=400,
|
|
|
|
| 11 |
}
|
| 12 |
)
|
| 13 |
|
| 14 |
+
def process_message(message, history, image):
|
| 15 |
"""
|
| 16 |
Process user message and image, send to the model, and return the response.
|
| 17 |
"""
|
|
|
|
| 66 |
'</a>'
|
| 67 |
)
|
| 68 |
|
|
|
|
|
|
|
|
|
|
| 69 |
chatbot = gr.Chatbot(
|
| 70 |
label="Conversation",
|
| 71 |
height=400,
|