Spaces:
Runtime error
Runtime error
info at the beginning of an app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
description = """Do you have a long document and a bunch of questions that can be answered given the data in this file?
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Gradio requires input to be fed in a very peculiar way and does not provide too much flexibility - don't expect from this demo too much. The backbone had to be adjusted to work on hugging face spaces. Go see https://github.com/PiotrAntoniak/DPR for a prettier version utilizing streamlit.
|
| 3 |
+
"""
|
| 4 |
+
|
| 5 |
+
|
| 6 |
import gradio as gr
|
| 7 |
|
| 8 |
description = """Do you have a long document and a bunch of questions that can be answered given the data in this file?
|