Spaces:
Runtime error
Runtime error
Commit ·
c8b496c
1
Parent(s): a04b234
changes
Browse files- 2_gradio.ipynb +1 -1
- app.py +1 -1
2_gradio.ipynb
CHANGED
|
@@ -113,7 +113,7 @@
|
|
| 113 |
],
|
| 114 |
"source": [
|
| 115 |
"with gr.Blocks() as demo:\n",
|
| 116 |
-
"\n",
|
| 117 |
" txt = gr.Textbox(value='A Christmas present🎄for my 5 years old Kid!!!', label='What are you looking for?')\n",
|
| 118 |
" btn = gr.Button(value=\"Search Product\")\n",
|
| 119 |
" state = gr.Dataframe()\n",
|
|
|
|
| 113 |
],
|
| 114 |
"source": [
|
| 115 |
"with gr.Blocks() as demo:\n",
|
| 116 |
+
" \n",
|
| 117 |
" txt = gr.Textbox(value='A Christmas present🎄for my 5 years old Kid!!!', label='What are you looking for?')\n",
|
| 118 |
" btn = gr.Button(value=\"Search Product\")\n",
|
| 119 |
" state = gr.Dataframe()\n",
|
app.py
CHANGED
|
@@ -33,7 +33,7 @@ import os
|
|
| 33 |
def greet(text1):
|
| 34 |
return search(df, text1)
|
| 35 |
|
| 36 |
-
with gr.Blocks() as demo:
|
| 37 |
txt = gr.Textbox(value='A Christmas present🎄for my 5 years old Kid!!!', label='What are you looking for?')
|
| 38 |
btn = gr.Button(value="Search Product")
|
| 39 |
state = gr.Dataframe()
|
|
|
|
| 33 |
def greet(text1):
|
| 34 |
return search(df, text1)
|
| 35 |
|
| 36 |
+
with gr.Blocks(theme=gr.themes.Soft(neutral_hue='amber')) as demo:
|
| 37 |
txt = gr.Textbox(value='A Christmas present🎄for my 5 years old Kid!!!', label='What are you looking for?')
|
| 38 |
btn = gr.Button(value="Search Product")
|
| 39 |
state = gr.Dataframe()
|