Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,6 @@ processors = {
|
|
| 14 |
"microsoft/Phi-3.5-vision-instruct": AutoProcessor.from_pretrained("microsoft/Phi-3.5-vision-instruct", trust_remote_code=True)
|
| 15 |
}
|
| 16 |
|
| 17 |
-
DESCRIPTION = "[Phi-3.5-vision Demo](https://huggingface.co/microsoft/Phi-3.5-vision-instruct)"
|
| 18 |
|
| 19 |
kwargs = {}
|
| 20 |
kwargs['torch_dtype'] = torch.bfloat16
|
|
@@ -61,7 +60,6 @@ css = """
|
|
| 61 |
"""
|
| 62 |
|
| 63 |
with gr.Blocks(css=css) as demo:
|
| 64 |
-
gr.Markdown(DESCRIPTION)
|
| 65 |
with gr.Row(id="main_container"):
|
| 66 |
with gr.Column():
|
| 67 |
input_img = gr.Image(label="Input Picture", interactive=True)
|
|
|
|
| 14 |
"microsoft/Phi-3.5-vision-instruct": AutoProcessor.from_pretrained("microsoft/Phi-3.5-vision-instruct", trust_remote_code=True)
|
| 15 |
}
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
kwargs = {}
|
| 19 |
kwargs['torch_dtype'] = torch.bfloat16
|
|
|
|
| 60 |
"""
|
| 61 |
|
| 62 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 63 |
with gr.Row(id="main_container"):
|
| 64 |
with gr.Column():
|
| 65 |
input_img = gr.Image(label="Input Picture", interactive=True)
|