Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ from bardapi import Bard
|
|
7 |
bardKey = os.environ.get('_BARD_API_KEY')
|
8 |
|
9 |
|
10 |
-
|
11 |
def bardChat(data):
|
12 |
# Create a session object using the requests library
|
13 |
session = requests.Session()
|
@@ -42,4 +41,6 @@ gradio_interface = gradio.Interface(
|
|
42 |
inputs = "text",
|
43 |
outputs = "text"
|
44 |
)
|
45 |
-
gradio_interface.launch()
|
|
|
|
|
|
7 |
bardKey = os.environ.get('_BARD_API_KEY')
|
8 |
|
9 |
|
|
|
10 |
def bardChat(data):
|
11 |
# Create a session object using the requests library
|
12 |
session = requests.Session()
|
|
|
41 |
inputs = "text",
|
42 |
outputs = "text"
|
43 |
)
|
44 |
+
gradio_interface.launch()
|
45 |
+
|
46 |
+
|