Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -255,9 +255,6 @@ def classify(UserInput, Image, Textbox2, Textbox3):
|
|
| 255 |
Textbox2_edited = [x.strip() for x in Textbox2]
|
| 256 |
Textbox2_edited = list(Textbox2_edited)
|
| 257 |
Textbox2_edited.append(UserInput)
|
| 258 |
-
messages = [
|
| 259 |
-
{"role": "system", "content": system},
|
| 260 |
-
]
|
| 261 |
|
| 262 |
for i in Textbox2_edited:
|
| 263 |
messages.append(
|
|
|
|
| 255 |
Textbox2_edited = [x.strip() for x in Textbox2]
|
| 256 |
Textbox2_edited = list(Textbox2_edited)
|
| 257 |
Textbox2_edited.append(UserInput)
|
|
|
|
|
|
|
|
|
|
| 258 |
|
| 259 |
for i in Textbox2_edited:
|
| 260 |
messages.append(
|