Spaces:
Runtime error
Runtime error
making set up
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from get_blender import main
|
3 |
|
4 |
main()
|
|
|
5 |
def process_text(input_text):
|
6 |
# Your processing logic here
|
7 |
return input_text.upper()
|
|
|
2 |
from get_blender import main
|
3 |
|
4 |
main()
|
5 |
+
|
6 |
def process_text(input_text):
|
7 |
# Your processing logic here
|
8 |
return input_text.upper()
|
setup.sh
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# download belnder
|
2 |
+
wget https://download.blender.org/release/Blender4.0/blender-4.0.2-linux-x64.tar.xz
|
3 |
+
|
4 |
+
# Extract the downloaded archive:
|
5 |
+
|
6 |
+
tar xf blender-4.0.2-linux-x64.tar.xz
|
7 |
+
|
8 |
+
rm -fr blender-4.0.2-linux-x64.tar.xz
|
9 |
+
|
10 |
+
# Move the extracted folder to the desired location (for example, /opt):
|
11 |
+
sudo mv blender-4.0.2-linux-x64 /opt/blender-4.0.2
|
12 |
+
|
13 |
+
# Create a symbolic link to the Blender executable:
|
14 |
+
sudo ln -s /opt/blender-4.0.2/blender /usr/local/bin/blender
|
15 |
+
|
16 |
+
sudo apt-get update
|
17 |
+
sudo apt-get install libxxf86vm1 -y
|
18 |
+
sudo apt-get install libgl1-mesa-glx -y
|
19 |
+
sudo apt-get install libegl-mesa0 -y
|
20 |
+
sudo apt-get install libegl1 -y
|