Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,6 +175,7 @@ def query_gemini_api(transcription):
|
|
| 175 |
try:
|
| 176 |
# Define the structured prompt
|
| 177 |
prompt = (
|
|
|
|
| 178 |
"Analyze the provided cooking video transcription and extract the following structured information:\n"
|
| 179 |
"1. Recipe Name: Identify the name of the dish being prepared.\n"
|
| 180 |
"2. Ingredients List: Extract a detailed list of ingredients with their respective quantities (if mentioned).\n"
|
|
|
|
| 175 |
try:
|
| 176 |
# Define the structured prompt
|
| 177 |
prompt = (
|
| 178 |
+
"Print the transcription in the response as well"
|
| 179 |
"Analyze the provided cooking video transcription and extract the following structured information:\n"
|
| 180 |
"1. Recipe Name: Identify the name of the dish being prepared.\n"
|
| 181 |
"2. Ingredients List: Extract a detailed list of ingredients with their respective quantities (if mentioned).\n"
|