Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers import pipeline
|
|
8 |
import pymongo
|
9 |
|
10 |
mongo_client = pymongo.MongoClient(os.environ['DB_URI'])
|
11 |
-
db = mongo_client["
|
12 |
btn_disable=gr.Button.update(interactive=False)
|
13 |
btn_enable=gr.Button.update(interactive=True)
|
14 |
generator = pipeline("text-generation", model="dgnk007/eagle")
|
|
|
8 |
import pymongo
|
9 |
|
10 |
mongo_client = pymongo.MongoClient(os.environ['DB_URI'])
|
11 |
+
db = mongo_client["eagle"]
|
12 |
btn_disable=gr.Button.update(interactive=False)
|
13 |
btn_enable=gr.Button.update(interactive=True)
|
14 |
generator = pipeline("text-generation", model="dgnk007/eagle")
|