saritha commited on
Commit
b2cbbb9
·
verified ·
1 Parent(s): 62afa46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
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
- 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)
 
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)