Spaces:
Running
on
Zero
Running
on
Zero
bennyguo
commited on
Commit
·
f58f6bd
1
Parent(s):
854df12
change text
Browse files
app.py
CHANGED
@@ -215,8 +215,8 @@ def generate_3d(scribble_image_dict, prompt, scribble_confidence, seed): # Added
|
|
215 |
|
216 |
# Create the Gradio interface
|
217 |
with gr.Blocks() as demo:
|
218 |
-
gr.Markdown("# Scribble
|
219 |
-
gr.Markdown("
|
220 |
with gr.Row():
|
221 |
with gr.Column(scale=1):
|
222 |
image_input = gr.ImageEditor(
|
@@ -228,7 +228,7 @@ with gr.Blocks() as demo:
|
|
228 |
eraser=gr.Brush(default_color="#FFFFFF", color_mode="fixed", default_size=20) # Fixed small eraser size
|
229 |
)
|
230 |
prompt_input = gr.Textbox(label="Prompt", placeholder="e.g., a cute cat wearing a hat")
|
231 |
-
confidence_input = gr.Slider(minimum=0.0, maximum=1.0, value=0.4, step=0.05, label="Scribble Confidence
|
232 |
seed_input = gr.Number(label="Seed", value=0, precision=0) # Added Seed input back
|
233 |
with gr.Row():
|
234 |
submit_button = gr.Button("Generate 3D Model", variant="primary", scale=1)
|
|
|
215 |
|
216 |
# Create the Gradio interface
|
217 |
with gr.Blocks() as demo:
|
218 |
+
gr.Markdown("# TripoSG Scribble!!")
|
219 |
+
gr.Markdown("3D model generation with simple scribble and text prompt.") # Updated guidance
|
220 |
with gr.Row():
|
221 |
with gr.Column(scale=1):
|
222 |
image_input = gr.ImageEditor(
|
|
|
228 |
eraser=gr.Brush(default_color="#FFFFFF", color_mode="fixed", default_size=20) # Fixed small eraser size
|
229 |
)
|
230 |
prompt_input = gr.Textbox(label="Prompt", placeholder="e.g., a cute cat wearing a hat")
|
231 |
+
confidence_input = gr.Slider(minimum=0.0, maximum=1.0, value=0.4, step=0.05, label="Scribble Confidence")
|
232 |
seed_input = gr.Number(label="Seed", value=0, precision=0) # Added Seed input back
|
233 |
with gr.Row():
|
234 |
submit_button = gr.Button("Generate 3D Model", variant="primary", scale=1)
|