kxx-kkk commited on
Commit
22dd8c2
1 Parent(s): 7dab359

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def question_answering(context, question):
36
  # choose the source with different tabs
37
  tab1, tab2 = st.tabs(["Input text", "Upload File"])
38
 
39
- '''----- input text -----'''
40
  # if type the text as input
41
  with tab1:
42
  # set the example
@@ -68,7 +68,7 @@ with tab1:
68
  else:
69
  question_answering(context, question)
70
 
71
- '''----- upload file -----'''
72
  # if upload file as input
73
  with tab2:
74
  # provide upload place
 
36
  # choose the source with different tabs
37
  tab1, tab2 = st.tabs(["Input text", "Upload File"])
38
 
39
+ #---------- input text ----------
40
  # if type the text as input
41
  with tab1:
42
  # set the example
 
68
  else:
69
  question_answering(context, question)
70
 
71
+ # ---------- upload file ----------
72
  # if upload file as input
73
  with tab2:
74
  # provide upload place