Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,6 +112,7 @@ def query_model(question):
|
|
| 112 |
topics = """
|
| 113 |
|
| 114 |
<span>
|
|
|
|
| 115 |
|
| 116 |
"Choose one of the food names and what you want to learn about the food from the "fact options" section below!
|
| 117 |
\nfood options
|
|
@@ -127,7 +128,7 @@ topics = """
|
|
| 127 |
\n- eating etiquette
|
| 128 |
\n- similar food around the world
|
| 129 |
|
| 130 |
-
|
| 131 |
"""
|
| 132 |
|
| 133 |
# Setup the Gradio Blocks interface with custom layout components
|
|
@@ -150,6 +151,10 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 150 |
outputs=gr.Textbox(label="GloBowl Response [Korean]", placeholder="GloBowl will respond here...", interactive=False, lines=10, show_copy_button = True
|
| 151 |
),
|
| 152 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
# Launch the Gradio app to allow user interaction
|
| 154 |
demo.launch(share=True)
|
| 155 |
|
|
|
|
| 112 |
topics = """
|
| 113 |
|
| 114 |
<span>
|
| 115 |
+
<div display: flex;>
|
| 116 |
|
| 117 |
"Choose one of the food names and what you want to learn about the food from the "fact options" section below!
|
| 118 |
\nfood options
|
|
|
|
| 128 |
\n- eating etiquette
|
| 129 |
\n- similar food around the world
|
| 130 |
|
| 131 |
+
|
| 132 |
"""
|
| 133 |
|
| 134 |
# Setup the Gradio Blocks interface with custom layout components
|
|
|
|
| 151 |
outputs=gr.Textbox(label="GloBowl Response [Korean]", placeholder="GloBowl will respond here...", interactive=False, lines=10, show_copy_button = True
|
| 152 |
),
|
| 153 |
)
|
| 154 |
+
|
| 155 |
+
</div>
|
| 156 |
+
</span>
|
| 157 |
+
|
| 158 |
# Launch the Gradio app to allow user interaction
|
| 159 |
demo.launch(share=True)
|
| 160 |
|