Spaces:
Runtime error
Runtime error
Update Visualisation/app.py
Browse files- Visualisation/app.py +2 -2
Visualisation/app.py
CHANGED
@@ -8,9 +8,9 @@ from transformers import pipeline, AutoModelForSeq2SeqLM, AutoTokenizer
|
|
8 |
app = FastAPI()
|
9 |
|
10 |
# β
Load Hugging Face models dynamically from the internet
|
11 |
-
code_generator =pipeline("text-generation", model="codellama/CodeLlama-7b
|
12 |
table_analyzer = pipeline("table-question-answering", model="google/tapas-base")
|
13 |
-
user_input_processor = pipeline("text-generation", model="tiiuae/falcon-7b-instruct") # comprend
|
14 |
image_captioner = pipeline("image-to-text", model="Salesforce/blip2-opt-2.7b")
|
15 |
|
16 |
# β
Load T5 Model (ensure correct architecture)
|
|
|
8 |
app = FastAPI()
|
9 |
|
10 |
# β
Load Hugging Face models dynamically from the internet
|
11 |
+
code_generator =pipeline("text-generation", model="codellama/CodeLlama-7b")
|
12 |
table_analyzer = pipeline("table-question-answering", model="google/tapas-base")
|
13 |
+
user_input_processor = pipeline("text-generation", model="tiiuae/falcon-7b-instruct") # comprend language naturel
|
14 |
image_captioner = pipeline("image-to-text", model="Salesforce/blip2-opt-2.7b")
|
15 |
|
16 |
# β
Load T5 Model (ensure correct architecture)
|