Spaces:
Runtime error
Runtime error
David Kagramanyan
commited on
Commit
·
20b71f0
1
Parent(s):
590bd2e
Update app.py
Browse files- app.py +1 -1
- app.py.ipynb +37 -0
app.py
CHANGED
@@ -2,4 +2,4 @@ import gradio as gr
|
|
2 |
import os
|
3 |
|
4 |
api_key = os.getenv("api_key")
|
5 |
-
gr.
|
|
|
2 |
import os
|
3 |
|
4 |
api_key = os.getenv("api_key")
|
5 |
+
gr.load("models/empy-ai/v0_feelings_en", api_key=api_key).launch()
|
app.py.ipynb
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"id": "initial_id",
|
7 |
+
"metadata": {
|
8 |
+
"collapsed": true
|
9 |
+
},
|
10 |
+
"outputs": [],
|
11 |
+
"source": [
|
12 |
+
""
|
13 |
+
]
|
14 |
+
}
|
15 |
+
],
|
16 |
+
"metadata": {
|
17 |
+
"kernelspec": {
|
18 |
+
"display_name": "Python 3",
|
19 |
+
"language": "python",
|
20 |
+
"name": "python3"
|
21 |
+
},
|
22 |
+
"language_info": {
|
23 |
+
"codemirror_mode": {
|
24 |
+
"name": "ipython",
|
25 |
+
"version": 2
|
26 |
+
},
|
27 |
+
"file_extension": ".py",
|
28 |
+
"mimetype": "text/x-python",
|
29 |
+
"name": "python",
|
30 |
+
"nbconvert_exporter": "python",
|
31 |
+
"pygments_lexer": "ipython2",
|
32 |
+
"version": "2.7.6"
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"nbformat": 4,
|
36 |
+
"nbformat_minor": 5
|
37 |
+
}
|