Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def main():
|
|
86 |
button = b.button("Send", use_container_width=True)
|
87 |
|
88 |
if button:
|
89 |
-
try:
|
90 |
tfile = tempfile.NamedTemporaryFile(delete=False)
|
91 |
tfile.write(uploaded_file.read())
|
92 |
|
@@ -122,8 +122,8 @@ def main():
|
|
122 |
|
123 |
res = st.text_input('✅ Answer to the question', result, disabled=False)
|
124 |
|
125 |
-
except:
|
126 |
-
|
127 |
|
128 |
if __name__ == '__main__':
|
129 |
main()
|
|
|
86 |
button = b.button("Send", use_container_width=True)
|
87 |
|
88 |
if button:
|
89 |
+
# try:
|
90 |
tfile = tempfile.NamedTemporaryFile(delete=False)
|
91 |
tfile.write(uploaded_file.read())
|
92 |
|
|
|
122 |
|
123 |
res = st.text_input('✅ Answer to the question', result, disabled=False)
|
124 |
|
125 |
+
# except:
|
126 |
+
# pass
|
127 |
|
128 |
if __name__ == '__main__':
|
129 |
main()
|