Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,8 @@ def gpt_francais(french_prompt,choix,autheur):
|
|
50 |
answer = model.generate_content(french_prompt)
|
51 |
#return response.text
|
52 |
print(answer)
|
53 |
-
rr =markdown = r"""
|
|
|
54 |
|
55 |
return rr
|
56 |
else:
|
@@ -58,7 +59,8 @@ def gpt_francais(french_prompt,choix,autheur):
|
|
58 |
#answer = res(fi_prompt)
|
59 |
response = model.generate_content(french_prompt)
|
60 |
print(response)
|
61 |
-
rr = markdown = r"""
|
|
|
62 |
return rr
|
63 |
|
64 |
|
|
|
50 |
answer = model.generate_content(french_prompt)
|
51 |
#return response.text
|
52 |
print(answer)
|
53 |
+
rr =markdown = r"""
|
54 |
+
e """.format(answer.text)
|
55 |
|
56 |
return rr
|
57 |
else:
|
|
|
59 |
#answer = res(fi_prompt)
|
60 |
response = model.generate_content(french_prompt)
|
61 |
print(response)
|
62 |
+
rr = markdown = r"""
|
63 |
+
e """.format(response.text)
|
64 |
return rr
|
65 |
|
66 |
|