Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ interface = gr.Interface(
|
|
46 |
fn=predict,
|
47 |
inputs=[
|
48 |
gr.Image(type="pil", label="Upload Image"), # Image input
|
49 |
-
gr.Textbox(label="Input Prompt",
|
50 |
],
|
51 |
outputs="text", # Text output
|
52 |
title="Image and Prompt to Text Model",
|
|
|
46 |
fn=predict,
|
47 |
inputs=[
|
48 |
gr.Image(type="pil", label="Upload Image"), # Image input
|
49 |
+
gr.Textbox(label="Input Prompt", value="Detect whether the pathology is malignant or benign? If malignant, then detect the grade G1, G2, or G3.") # Text input
|
50 |
],
|
51 |
outputs="text", # Text output
|
52 |
title="Image and Prompt to Text Model",
|