Spaces:
Runtime error
Runtime error
Yash Sachdeva
commited on
Commit
·
60605bd
1
Parent(s):
f9220be
flan
Browse files- question_paper.py +1 -0
question_paper.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
from fastapi import FastAPI
|
|
|
3 |
|
4 |
pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
|
5 |
|
|
|
1 |
from transformers import pipeline
|
2 |
from fastapi import FastAPI
|
3 |
+
from fastapi.middleware.cors import CORSMiddleware
|
4 |
|
5 |
pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
|
6 |
|