AnonymousSub commited on
Commit
3e32319
·
1 Parent(s): 7c2ab27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -3,13 +3,14 @@ import gradio as gr
3
  import torch
4
 
5
 
6
- title = "????AI ChatBot"
7
- description = "A State-of-the-Art Large-scale Pretrained Response generation model (DialoGPT)"
8
- examples = [["How are you?"]]
9
 
 
10
 
11
- tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large")
12
- model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large")
13
 
14
 
15
  def predict(input, history=[]):
 
3
  import torch
4
 
5
 
6
+ title = "Ayurveda4U"
7
+ description = "LLM-Powered Medical Chatbot that will answer all your health-related queries with the help of Ayurvedic texts ynder the hood!"
8
+ examples = [["How can you cure common cold using Ayurveda?"], ["What is the Ayurvedic equivalent of Paracetamol?"]]
9
 
10
+ model_path = 'microsoft/BioGPT-large' #microsoft/DialoGPT-large
11
 
12
+ tokenizer = AutoTokenizer.from_pretrained(model_path)
13
+ model = AutoModelForCausalLM.from_pretrained(model_path)
14
 
15
 
16
  def predict(input, history=[]):