File size: 2,374 Bytes
a5d3830
7627550
a5d3830
7627550
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a5d3830
b22c952
 
01b040c
fd0e432
b22c952
7560592
fd0e432
f61fc61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61421f1
01b040c
a5d3830
06a5ab5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import gradio as gr
from conversation import make_conversation
import random
import time

global USERNAME
global PASSWORD
global INPUT
global OUTPUT
global SOURCE
global DOCS

# def auth_function(username, password):
#     USERNAME = username
#     user_name = username
#     return username == password


# def make_conversation(message, history):
#     INPUT = message
#     text_, source, docs = run(message)
#     OUTPUT = text_
#     SOURCE = source
#     DOCS = docs

#     # print("INPUT: ", INPUT)
#     # print("OUTPUT: ", OUTPUT)
#     # print("SOURCE: ", SOURCE)
#     # print("DOCS: ", DOCS)

#     for i in range(len(text_)):
#         time.sleep(0.001)
#         yield text_[: i+1]

# We are making some changes, the model will not work at the moment.

with gr.Blocks(css="style.css") as demo:
    gr.Markdown("""
   
    
    # Dr. V AI
    
    Dr. V.AI is an experimental large language model tailored for Ophthalmology, integrating an extensive knowledge base.

    ## Potential Use Cases
    
    - **Real-time Assistant:** Functions as an assistant during patient consultations, providing instant diagnosis and treatment plans by analyzing patent information and historical records.
    - **Hospital Triage Support:** Aids in the triaging process within a hospital setting, streamlining patient flow based on urgency and severity.
    - **Research Integration:** Cites and incorporates recent research findings, enhancing diagnostic accuracy and treatment recommendations.
    - **Conversational Interface:** Facilitates seamless communication with organizational patient data, ensuring efficient and secure information exchange.
    - **Normal Patient Detection:** Identifies normal cases more effectively, minimizing unnecessary specialist intervention and optimizing resource allocation.

    ## Feedback
    
    - We value your feedback to enhance and refine the model. Please share your thoughts on the usability, accuracy, and any suggestions for improvement.

    ## Next Steps
    
    - Continual refinement based on user feedback and ongoing developments in Ophthalmology.
    - Including Image modality like Fundus.

    Thank you for engaging with Dr. V.AI. Your insights are instrumental in advancing the capabilities of this experimental Ophthalmology Language Model.
    """)
    gr.ChatInterface(make_conversation).queue()

demo.launch()