Spaces:
Runtime error
Runtime error
nos
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,13 +62,17 @@ def flip_image(x):
|
|
| 62 |
with gr.Blocks() as demo:
|
| 63 |
|
| 64 |
with gr.Tab("Chat"):
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
with gr.Tab("ELS"):
|
| 73 |
with gr.Row():
|
| 74 |
text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)
|
|
|
|
| 62 |
with gr.Blocks() as demo:
|
| 63 |
|
| 64 |
with gr.Tab("Chat"):
|
| 65 |
+
gr.ChatInterface(
|
| 66 |
+
yes_man,
|
| 67 |
+
chatbot=gr.Chatbot(height=400),
|
| 68 |
+
textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
|
| 69 |
+
title="Sophia, Torah Codes",
|
| 70 |
+
description="Ask Sophia your questions",
|
| 71 |
+
theme="soft",
|
| 72 |
+
retry_btn=True,
|
| 73 |
+
undo_btn="Undo",
|
| 74 |
+
clear_btn="Clear",
|
| 75 |
+
)
|
| 76 |
with gr.Tab("ELS"):
|
| 77 |
with gr.Row():
|
| 78 |
text1 = gr.Textbox(label="Prompt to gematria conversion for apply ELS",scale=3)
|