benkada commited on
Commit
0ef9bde
·
verified ·
1 Parent(s): 1d32d3e

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -14
app.py DELETED
@@ -1,14 +0,0 @@
1
- from fastapi import FastAPI
2
- from transformers import pipeline
3
- app = FastAPI() # <- Make sure this line exists
4
- # Use a pipeline as a high-level helper
5
- from transformers import pipeline
6
-
7
- messages = [
8
- {"role": "user", "content": "Who are you?"},
9
- ]
10
- pipe = pipeline("image-text-to-text", model="Qwen/Qwen2.5-VL-7B-Instruct")
11
- pipe(messages)
12
- @app.get("/")
13
- def home():
14
- return {"message": "FastAPI is running!"}