Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
|
9 |
from PIL import Image
|
10 |
import uuid
|
11 |
import io
|
|
|
|
|
12 |
|
13 |
# Text-only model setup
|
14 |
DESCRIPTION = """
|
@@ -231,4 +233,4 @@ demo = gr.ChatInterface(
|
|
231 |
)
|
232 |
|
233 |
if __name__ == "__main__":
|
234 |
-
demo.queue(max_size=20).launch(share=True)
|
|
|
9 |
from PIL import Image
|
10 |
import uuid
|
11 |
import io
|
12 |
+
import re
|
13 |
+
import time
|
14 |
|
15 |
# Text-only model setup
|
16 |
DESCRIPTION = """
|
|
|
233 |
)
|
234 |
|
235 |
if __name__ == "__main__":
|
236 |
+
demo.queue(max_size=20).launch(share=True) # Set share=True for a public link
|