Spaces:
Sleeping
Sleeping
Lovisticsdev
commited on
Commit
•
6d7738b
1
Parent(s):
6f6a1aa
Sf
Browse files
app.py
CHANGED
@@ -134,6 +134,8 @@ def recommend_recipes(input_ingredients, n=5):
|
|
134 |
|
135 |
# Create and return Gradio interface
|
136 |
logging.info("Creating Gradio interface...")
|
137 |
-
iface = gr.Interface(fn=recommend_recipes,
|
|
|
|
|
138 |
logging.info("Gradio interface created successfully.")
|
139 |
iface.launch()
|
|
|
134 |
|
135 |
# Create and return Gradio interface
|
136 |
logging.info("Creating Gradio interface...")
|
137 |
+
iface = gr.Interface(fn=recommend_recipes,
|
138 |
+
inputs=gr.Textbox(lines=2, label="Enter Ingredients"),
|
139 |
+
outputs="textbox")
|
140 |
logging.info("Gradio interface created successfully.")
|
141 |
iface.launch()
|