Spaces:
Running
Running
Evan Lesmez
commited on
Commit
•
a821f3f
1
Parent(s):
4ccbf6f
Remove openai api key line
Browse files
app.py
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
from lv_recipe_chatbot.app import create_demo, ConversationBot
|
2 |
-
import openai
|
3 |
import os
|
4 |
|
5 |
# for Hugging Face
|
6 |
|
7 |
if __name__ == "__main__":
|
8 |
-
openai.api_key = os.environ["OPENAI_API_KEY"]
|
9 |
demo = create_demo(ConversationBot(verbose=True))
|
10 |
demo.launch(auth=(
|
11 |
os.environ["GRADIO_DEMO_USERNAME"],
|
|
|
1 |
from lv_recipe_chatbot.app import create_demo, ConversationBot
|
|
|
2 |
import os
|
3 |
|
4 |
# for Hugging Face
|
5 |
|
6 |
if __name__ == "__main__":
|
|
|
7 |
demo = create_demo(ConversationBot(verbose=True))
|
8 |
demo.launch(auth=(
|
9 |
os.environ["GRADIO_DEMO_USERNAME"],
|