Spaces:
Runtime error
Runtime error
attempt to get blender on hf space
Browse files- app.py +2 -0
- langhchain_generate_components.py +2 -1
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
|
|
3 |
def process_text(input_text):
|
4 |
# Your processing logic here
|
5 |
return input_text.upper()
|
|
|
1 |
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()
|
langhchain_generate_components.py
CHANGED
@@ -63,7 +63,8 @@ experiment_prompt = PromptTemplate(
|
|
63 |
)
|
64 |
|
65 |
maker_prompt = PromptTemplate(
|
66 |
-
template="You must generate a well detailed list of items for creating a given item from scratch
|
|
|
67 |
input_variables=["question"],
|
68 |
partial_variables={"format_instructions": format_instructions},
|
69 |
memory = memory
|
|
|
63 |
)
|
64 |
|
65 |
maker_prompt = PromptTemplate(
|
66 |
+
template="You must generate a well detailed list of items for creating a given item from scratch. \
|
67 |
+
Also describe the purpose for a text-to-3d model to use for extra context\n{format_instructions}\n{question}\n{context}",
|
68 |
input_variables=["question"],
|
69 |
partial_variables={"format_instructions": format_instructions},
|
70 |
memory = memory
|