Spaces:
Running
Running
crcdng
commited on
Commit
·
f53f847
1
Parent(s):
b3f51dd
add glb
Browse files- Gradio_UI.py +11 -9
- README.md +2 -1
- terminal.glb +3 -0
Gradio_UI.py
CHANGED
@@ -338,17 +338,19 @@ class GradioUI:
|
|
338 |
description=gr.HTML(description_html)
|
339 |
stored_messages = gr.State([])
|
340 |
file_uploads_log = gr.State([])
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
|
|
345 |
"https://huggingface.co/spaces/crcdng/First_agent_template/resolve/main/agent_b.jpg",
|
346 |
"https://huggingface.co/spaces/crcdng/First_agent_template/resolve/main/agent_a.jpg",
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
|
|
352 |
# If an upload folder is provided, enable the upload feature
|
353 |
if self.file_upload_folder is not None:
|
354 |
upload_file = gr.File(label="Upload a file")
|
|
|
338 |
description=gr.HTML(description_html)
|
339 |
stored_messages = gr.State([])
|
340 |
file_uploads_log = gr.State([])
|
341 |
+
with gr.Row():
|
342 |
+
chatbot = gr.Chatbot(
|
343 |
+
label="Agent",
|
344 |
+
type="messages",
|
345 |
+
avatar_images=(
|
346 |
"https://huggingface.co/spaces/crcdng/First_agent_template/resolve/main/agent_b.jpg",
|
347 |
"https://huggingface.co/spaces/crcdng/First_agent_template/resolve/main/agent_a.jpg",
|
348 |
+
),
|
349 |
+
resizeable=True,
|
350 |
+
scale=2,
|
351 |
+
elem_classes="cyber-glitch-1",
|
352 |
+
)
|
353 |
+
gr.Model3D("terminal.glb", label="A view of the ChronoCore-77")
|
354 |
# If an upload folder is provided, enable the upload feature
|
355 |
if self.file_upload_folder is not None:
|
356 |
upload_file = gr.File(label="Upload a file")
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Your Cyberpunk Local Time Terminal
|
3 |
emoji: 🤖
|
4 |
colorFrom: purple
|
5 |
colorTo: yellow
|
@@ -21,3 +21,4 @@ tags:
|
|
21 |
derived from: First Agent Template
|
22 |
uses the [cyber theme](https://huggingface.co/spaces/crcdng/cyber)
|
23 |
and [cyberpunk.css](https://www.cssscript.com/demo/cyberpunk-2077/) Copyright (c) 2025 github/alddesign (MIT License)
|
|
|
|
1 |
---
|
2 |
+
title: Your Cyberpunk ChronoCore-77 Local Time Terminal
|
3 |
emoji: 🤖
|
4 |
colorFrom: purple
|
5 |
colorTo: yellow
|
|
|
21 |
derived from: First Agent Template
|
22 |
uses the [cyber theme](https://huggingface.co/spaces/crcdng/cyber)
|
23 |
and [cyberpunk.css](https://www.cssscript.com/demo/cyberpunk-2077/) Copyright (c) 2025 github/alddesign (MIT License)
|
24 |
+
[3D model](https://rigmodels.com/model.php?view=Retro_Sci-Fi_Holocomputer-3d-model__eb9917b8e8904bc48420216db09eef46) free license
|
terminal.glb
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e07d00a38ddb0aec7f46efc0e0b4cd3a0e6fcb027c18d03d201004060ee7dc55
|
3 |
+
size 2933960
|