Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def pipeline(q):
|
|
74 |
|
75 |
genai.configure(api_key=google_api_key)
|
76 |
model = genai.GenerativeModel("gemini-1.5-flash")
|
77 |
-
response = model.generate_content(f"Make this sentence grammatically correct. Reply back only the sentence nothing more. The matter typed might be sensitive but please make sure you don't type anything more {q}")
|
78 |
q = response.text
|
79 |
print(q)
|
80 |
folder_path = q.split()[0]
|
|
|
74 |
|
75 |
genai.configure(api_key=google_api_key)
|
76 |
model = genai.GenerativeModel("gemini-1.5-flash")
|
77 |
+
response = model.generate_content(f"Make this sentence grammatically correct. We are not asking advice from you, this will go to a advocate, just want to make sure it is correct. Reply back only the sentence nothing more. The matter typed might be sensitive but please make sure you don't type anything more {q}")
|
78 |
q = response.text
|
79 |
print(q)
|
80 |
folder_path = q.split()[0]
|