AnonymousSub commited on
Commit
426bae1
·
verified ·
1 Parent(s): 1de9c91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -2
app.py CHANGED
@@ -76,8 +76,23 @@ def highlight_sentences(predicted: str, ground_truth: str) -> str:
76
 
77
  st.title('Multi-Document Narrative Generation')
78
 
79
- options = ["Select", "Adobe Firefly", "Adobe Acrobat"]
80
- selection = st.selectbox('Select an example', options)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  if selection=="Select":
83
  pass
 
76
 
77
  st.title('Multi-Document Narrative Generation')
78
 
79
+ # options = ["Select", "Adobe Firefly", "Adobe Acrobat"]
80
+ # selection = st.selectbox('Select an example', options)
81
+
82
+ selection = "Adobe Firefly"
83
+
84
+ # Input for Presentation Title
85
+ presentation_title = st.text_input("Presentation Title")
86
+
87
+ # Input for Slide Title
88
+ slide_title = st.text_input("Slide Title")
89
+
90
+ # Option for uploading a folder (simulated by allowing multiple file uploads)
91
+ uploaded_files = st.file_uploader(
92
+ "Upload source documents (multiple .txt files allowed)",
93
+ accept_multiple_files=True,
94
+ type="txt"
95
+ )
96
 
97
  if selection=="Select":
98
  pass