File size: 1,646 Bytes
e816568
bef60b4
 
 
e816568
 
 
bef60b4
31dc287
bef60b4
31dc287
 
bef60b4
e816568
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr
import IPython
from IPython.display import IFrame

title = "AI Quantum - QGAN"
description = "Using Superposition Advantage from Quantum for QGAN AI."
article = "<p style='text-align: center'></p>"

#IFrame(src='https://oreilly-qc.github.io?p=2-1', width=900, height=900)
IFrame(src='https://oreilly-qc.github.io?p=2-1', width=900, height=900)
#article = "<script defer='defer' id='gradio-library' src='www.gradio.app/gradio_static/bundle.js'>"
#launchGradioFromSpaces("path/to/spaces", "#div")

examples = [
    ["Scientific breakthroughs in treatment of HIV/AIDS may be solved in our lifetime using a procedure called [MASK] modulation which strengthens the immune system to fight the disease."],["A disease called [MASK] disease involves progressive memory loss and has new treatments to improve memory and delay progression of the disease."],["[MASK] refers to the uncontrolled growth of abnormal cells in the body.  With chemotherapy and radiation therapy have improvements and replacements that destroy cancer cells before they become resistant to current treatment methods."],["The hereditary disease [MASK] is caused by mucus abnormally thick preventing lungs and pancreas from doing their jobs correctly."],["[MASK] or atherosclerosis is the buildup of cholesterol, fatty cells, and inflammatory deposits in the arteries.  Stem cells, mechanical devices, and lowering cholesterol and blood pressure levels are helping prevention."]
]

gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples, allow_flagging="never",enable_queue=True).launch()