Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,8 +106,14 @@ with gr.Blocks(css=css) as interface:
|
|
106 |
with gr.Row():
|
107 |
answer_output = gr.Textbox(type="text", label="Answer")
|
108 |
|
|
|
|
|
|
|
|
|
109 |
interface.launch()
|
110 |
|
|
|
|
|
111 |
'''
|
112 |
iface = gr.Interface(
|
113 |
fn=askme,
|
|
|
106 |
with gr.Row():
|
107 |
answer_output = gr.Textbox(type="text", label="Answer")
|
108 |
|
109 |
+
# Pass examples to the interface
|
110 |
+
interface.example = examples # Set the 'example' attribute
|
111 |
+
|
112 |
+
|
113 |
interface.launch()
|
114 |
|
115 |
+
|
116 |
+
|
117 |
'''
|
118 |
iface = gr.Interface(
|
119 |
fn=askme,
|