Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
•
2817c27
1
Parent(s):
5ca8301
test tabs
Browse files- .idea/.name +1 -0
- app.py +6 -2
.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
app.py
|
app.py
CHANGED
@@ -5,8 +5,12 @@ import openai
|
|
5 |
openai.api_key = "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"
|
6 |
|
7 |
with gr.Blocks() as iface:
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
10 |
|
11 |
|
12 |
def user(user_message, history):
|
|
|
5 |
openai.api_key = "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"
|
6 |
|
7 |
with gr.Blocks() as iface:
|
8 |
+
with gr.Tab("Security Guard"):
|
9 |
+
chatbot = gr.Chatbot()
|
10 |
+
msg = gr.Textbox()
|
11 |
+
with gr.Tab("Curator"):
|
12 |
+
chatbot = gr.Chatbot()
|
13 |
+
msg = gr.Textbox()
|
14 |
|
15 |
|
16 |
def user(user_message, history):
|