Spaces:
Runtime error
Runtime error
Commit
·
7ffed2a
1
Parent(s):
912a28c
Update app.py
Browse files
app.py
CHANGED
@@ -185,15 +185,15 @@ with gr.Blocks() as demo:
|
|
185 |
# load_data()
|
186 |
with gr.Row():
|
187 |
with gr.Column():
|
188 |
-
potc = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
189 |
#name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
def backup_db():
|
198 |
shutil.copyfile(DB_FILE, "./reviews.db")
|
199 |
db = sqlite3.connect(DB_FILE)
|
|
|
185 |
# load_data()
|
186 |
with gr.Row():
|
187 |
with gr.Column():
|
188 |
+
#potc = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
189 |
#name.change(inputs=name, outputs=celsci,_js="window.location.reload()")
|
190 |
+
gr.Dataset(components=[gr.Textbox(visible=True)],
|
191 |
+
label="Text Dataset",
|
192 |
+
samples=[
|
193 |
+
["The quick brown fox jumps over the lazy dog"],
|
194 |
+
["Build & share delightful machine learning apps"]
|
195 |
+
],
|
196 |
+
)
|
197 |
def backup_db():
|
198 |
shutil.copyfile(DB_FILE, "./reviews.db")
|
199 |
db = sqlite3.connect(DB_FILE)
|