Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,10 @@ def greet_json():
|
|
| 7 |
return {"status": "Its working built by Fayaz"}
|
| 8 |
|
| 9 |
# Initialize the text generation pipeline
|
| 10 |
-
pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
@app.get("/")
|
|
|
|
| 7 |
return {"status": "Its working built by Fayaz"}
|
| 8 |
|
| 9 |
# Initialize the text generation pipeline
|
| 10 |
+
# pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
| 11 |
+
# checking for ofingpt
|
| 12 |
+
# ofintech/FinGPT_0.1.3
|
| 13 |
+
pipe = pipeline("text2text-generation", model="ofintech/FinGPT_0.1.3")
|
| 14 |
|
| 15 |
|
| 16 |
@app.get("/")
|