Replies: 2 comments 1 reply
-
Hello! Welcome to using Wave! Your app is looking nice so far, hope this helps:
Here is an app which allows a user to upload a CSV and then displays that data as a table, in case it helps to see an example: https://gist.github.com/mtanco/9c39438660eef8326f087d3a22e7e23b Please let us know if you have any other questions! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can i cancel an upload while processing? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new using the H2O Wave and have some questions regarding ui.file_upload:
1- Can we specify the destination folder? if not where are the files uploaded (folder)?
2- I've implemented a simple APP that have an option to upload files and after drag and drop the file the page passes to loading and doesn't stop.
This is the code of my app
`import os
from h2o_wave import Q, app, ui, main
sample_markdown = '''
XXXXXXX- Dataknoeldge Application
Esta aplicação serve de apoio á análise dados'''
example_dir = os.path.dirname(os.path.realpath(file))
_app_host = '127.0.0.1'
_app_port = '10102'
global localseparador
async def showpage(q: Q):
q.page['meta'] = ui.meta_card(box='', layouts=[
ui.layout(
breakpoint='m',
zones=[
ui.zone('header', size='80px'),
ui.zone('body', direction=ui.ZoneDirection.ROW, zones=[
ui.zone('content'),
], size='700px'),
ui.zone('footer', size='80px'),
]
)
])
async def show_example(q: Q):
if q.args.submit:
del q.page['Home']
@app('/Dataknowledge')
async def serve(q: Q):
if not q.client.initialized:
q.client.initialized = True
await showpage(q)
print('----------------------------------------')
print(' Welcome to DataKnowledge')
print('')
print(' Go to http://localhost:10101/Dataknowledge')
print('----------------------------------------')
`
Beta Was this translation helpful? Give feedback.
All reactions