Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,20 +44,20 @@ def response_from_mistral(query):
|
|
44 |
|
45 |
)
|
46 |
return response.choices[0].message.content
|
47 |
-
iface = gr.Interface(
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
iface.launch()
|
61 |
|
62 |
def chat_with_models(text):
|
63 |
llama_response = response_from_llam3(text)
|
|
|
44 |
|
45 |
)
|
46 |
return response.choices[0].message.content
|
47 |
+
# iface = gr.Interface(
|
48 |
|
49 |
+
# fn=response_from_llam3,
|
50 |
+
# inputs="text",
|
51 |
+
# outputs="text",
|
52 |
+
# examples=[
|
53 |
+
# ['What is importance of fasting according to Ayurveda?'],
|
54 |
+
# ['What are the medicinal values of Tusli?'],
|
55 |
+
# ['What are the three different doshas?'],
|
56 |
+
# ['What is the ideal diet according to ayurveda?']
|
57 |
+
# ],
|
58 |
+
# cache_examples=False,
|
59 |
+
# )
|
60 |
+
# iface.launch()
|
61 |
|
62 |
def chat_with_models(text):
|
63 |
llama_response = response_from_llam3(text)
|