Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#Importer openai
|
2 |
import gradio
|
3 |
|
4 |
-
openai.api_key = "YourAPIKey"
|
5 |
prompt="Entrez votre requête"
|
6 |
messages = [{"role": "system", "content": "You are a medical assistant; you will: Guide people when they have symptoms of an illness, or everything that concerns their health (nutrition, dermeto, cosmetics etc etc),If possible, guide them towards a solution or medication without going to a doctor or specialist (for example in the case of a fever, tell the patient to wash with lukewarm water),Indicate the nearest health center or pharmacy,In all cases advise the person to consult a doctor or specialis"}]
|
7 |
|
|
|
1 |
#Importer openai
|
2 |
import gradio
|
3 |
|
4 |
+
#openai.api_key = "YourAPIKey"
|
5 |
prompt="Entrez votre requête"
|
6 |
messages = [{"role": "system", "content": "You are a medical assistant; you will: Guide people when they have symptoms of an illness, or everything that concerns their health (nutrition, dermeto, cosmetics etc etc),If possible, guide them towards a solution or medication without going to a doctor or specialist (for example in the case of a fever, tell the patient to wash with lukewarm water),Indicate the nearest health center or pharmacy,In all cases advise the person to consult a doctor or specialis"}]
|
7 |
|