init
Browse files
app.py
CHANGED
@@ -64,8 +64,6 @@ def generate_answer(question):
|
|
64 |
answer = generate_text(prompt)
|
65 |
return answer
|
66 |
|
67 |
-
import google.generativeai as genai
|
68 |
-
|
69 |
def question_anwser(chat_history, file, question):
|
70 |
suffix = Path(file.name).suffix
|
71 |
with NamedTemporaryFile(delete=False, suffix=suffix) as tmp:
|
|
|
64 |
answer = generate_text(prompt)
|
65 |
return answer
|
66 |
|
|
|
|
|
67 |
def question_anwser(chat_history, file, question):
|
68 |
suffix = Path(file.name).suffix
|
69 |
with NamedTemporaryFile(delete=False, suffix=suffix) as tmp:
|