Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from sentence_transformers import SentenceTransformer, util
|
|
|
|
| 3 |
import openai
|
| 4 |
import os
|
| 5 |
|
|
@@ -126,6 +127,8 @@ topics = """
|
|
| 126 |
- Beef Recipes
|
| 127 |
- Pork Recipes
|
| 128 |
"""
|
|
|
|
|
|
|
| 129 |
|
| 130 |
# Setup the Gradio Blocks interface with custom layout components
|
| 131 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from sentence_transformers import SentenceTransformer, util
|
| 3 |
+
import webbrowser
|
| 4 |
import openai
|
| 5 |
import os
|
| 6 |
|
|
|
|
| 127 |
- Beef Recipes
|
| 128 |
- Pork Recipes
|
| 129 |
"""
|
| 130 |
+
def display_image():
|
| 131 |
+
return
|
| 132 |
|
| 133 |
# Setup the Gradio Blocks interface with custom layout components
|
| 134 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|