File size: 490 Bytes
fc8cefd
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import time
import Content as con


def random_response(message,history):
    answer = con.starting(message.lower())
    for i in range(len(answer)):
        time.sleep(0.03)
        yield answer[:i+1]
    

demo = gr.ChatInterface(random_response, title= "Prakriti Analyzer", description='This bot is made with love and care to guide you towards a better life by giving you a knowlege about your prakriti or your body costitution.',).queue()
demo.launch(inbrowser=True)